Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 282.5 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9432/0.9432, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 103.8 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1336, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001532/0.1351, allocations: 0.5124 MB / 0.6808 GB, free: 104 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005697/0.1357, allocations: 322.9 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.1358, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.1358, allocations: 4 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.1358, allocations: 3.938 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1362, allocations: 103.9 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.1362, allocations: 15.92 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.1363, allocations: 0 / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.1363, allocations: 4 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.1363, allocations: 7.984 kB / 0.6812 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1363, allocations: 7.938 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.1366, allocations: 187.8 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1366, allocations: 4 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.1367, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1368, allocations: 87.73 kB / 0.6815 GB, free: 15.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1368, allocations: 0 / 0.6815 GB, free: 15.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1368, allocations: 0 / 0.6815 GB, free: 15.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1368, allocations: 0 / 0.6815 GB, free: 15.37 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002968/0.1371, allocations: 335.6 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1372, allocations: 12.03 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.1372, allocations: 38.73 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.1372, allocations: 0.9375 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.1373, allocations: 168.3 kB / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.1374, allocations: 384 / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1374, allocations: 4.375 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.1375, allocations: 42.19 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1375, allocations: 3.938 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1375, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1375, allocations: 4 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.1375, allocations: 4 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.1377, allocations: 157.7 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.1377, allocations: 18.58 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1377, allocations: 4.859 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.1383, allocations: 0.5818 MB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1383, allocations: 38.44 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1383, allocations: 0 / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004279/0.1388, allocations: 258.2 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1388, allocations: 55.62 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.272e-05/0.1389, allocations: 97.84 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1389, allocations: 25.7 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1389, allocations: 88.08 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.139, allocations: 11.84 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.139, allocations: 17.72 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1391, allocations: 314.8 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.1391, allocations: 4 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.1391, allocations: 21.72 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.1392, allocations: 33.64 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1392, allocations: 0 / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.704e-05/0.1393, allocations: 45.7 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1393, allocations: 7.938 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1393, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1393, allocations: 4.062 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.1394, allocations: 15.92 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1394, allocations: 0 / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.1394, allocations: 0 / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1394, allocations: 4 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.1395, allocations: 111.2 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1395, allocations: 11.84 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1396, allocations: 53.5 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1397, allocations: 7.984 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1397, allocations: 0 / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1397, allocations: 0 / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.1398, allocations: 153.7 kB / 0.6842 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1398, allocations: 0 / 0.6842 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.1398, allocations: 11.94 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1398, allocations: 3.938 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1398, allocations: 0 / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1398, allocations: 0 / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1399, allocations: 3.938 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.14, allocations: 81.16 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.14, allocations: 85.03 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.14, allocations: 0 / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.1401, allocations: 0 / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1401, allocations: 8 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1401, allocations: 4 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.088e-05/0.1401, allocations: 83.27 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1401, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1404, allocations: 28.06 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004155/0.1408, allocations: 0.6474 MB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.1409, allocations: 19.92 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1409, allocations: 7.938 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.1409, allocations: 8.188 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.141, allocations: 8.75 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008323/0.1419, allocations: 1.141 MB / 0.6862 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1421, allocations: 0.6768 MB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1421, allocations: 4 kB / 0.6869 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.1422, allocations: 11.42 kB / 0.6869 GB, free: 9.164 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1422, allocations: 0 / 0.6869 GB, free: 9.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1601, allocations: 2.09 MB / 0.689 GB, free: 7.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.139, allocations: 10.06 kB / 0.689 GB, free: 7.23 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)