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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 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.001724/0.001724, allocations: 194.8 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 290.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 101.9 kB / 0.5954 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1458, 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.001771/0.1476, allocations: 0.5235 MB / 0.6808 GB, free: 92 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.1482, allocations: 326.9 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.1483, allocations: 0.8438 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1483, allocations: 0 / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.922e-05/0.1483, allocations: 7.938 kB / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1488, allocations: 99.97 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.1488, allocations: 15.88 kB / 0.6812 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1489, allocations: 4 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.1489, allocations: 3.984 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.1489, allocations: 8 kB / 0.6812 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.149, allocations: 4 kB / 0.6813 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1493, allocations: 183.8 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1493, allocations: 7.922 kB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1493, allocations: 3.984 kB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1495, allocations: 87.73 kB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1495, allocations: 0 / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1495, allocations: 0 / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1495, allocations: 0 / 0.6815 GB, free: 15.35 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.0003235/0.1498, allocations: 335.6 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1499, allocations: 12.03 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.1499, allocations: 34.75 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1499, allocations: 0.9375 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1501, allocations: 168.3 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1501, allocations: 4.375 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1501, allocations: 384 / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.1502, allocations: 38.2 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1502, allocations: 3.938 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1502, allocations: 0 / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1502, allocations: 0 / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1502, allocations: 8 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1504, allocations: 153.7 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.1504, allocations: 22.59 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.1505, allocations: 8.922 kB / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.1511, allocations: 0.5778 MB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1511, allocations: 34.5 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.1511, allocations: 4 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004719/0.1516, allocations: 258.2 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1516, allocations: 55.62 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.126e-05/0.1517, allocations: 97.89 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1517, allocations: 29.7 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1518, allocations: 84.12 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1518, allocations: 11.84 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1518, allocations: 21.66 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.1519, allocations: 310.8 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.1519, allocations: 7.984 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.152, allocations: 21.72 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.152, allocations: 29.66 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.152, allocations: 0 / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.1521, allocations: 49.69 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1522, allocations: 9.812 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1522, allocations: 0 / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1522, allocations: 4 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.1522, allocations: 12 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1522, allocations: 0 / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.1523, allocations: 0 / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1523, allocations: 8 kB / 0.6838 GB, free: 12.55 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.633e-05/0.1524, allocations: 111.1 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.1524, allocations: 11.84 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1525, allocations: 49.19 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1525, allocations: 0 / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1525, allocations: 4 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1525, allocations: 0 / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1526, allocations: 157.7 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1526, allocations: 8 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.1527, allocations: 11.92 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1527, allocations: 3.938 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1527, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1527, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1527, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1529, allocations: 81.12 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1529, allocations: 84.98 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1529, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.153, allocations: 7.984 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.153, allocations: 4.031 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.153, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.1531, allocations: 79.28 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1531, allocations: 0 / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1533, allocations: 24 kB / 0.6845 GB, free: 11.82 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.0004732/0.1538, allocations: 0.6553 MB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.1539, allocations: 16.5 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1539, allocations: 0 / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.1539, allocations: 11.98 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.0001437/0.1541, allocations: 16.06 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.155, allocations: 1.139 MB / 0.6862 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1552, allocations: 0.6768 MB / 0.6869 GB, free: 9.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.1553, allocations: 8.062 kB / 0.6869 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1553, allocations: 13.12 kB / 0.6869 GB, free: 9.145 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1553, allocations: 0 / 0.6869 GB, free: 9.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.173, allocations: 2.089 MB / 0.689 GB, free: 7.219 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.615, allocations: 8.438 kB / 0.689 GB, free: 7.211 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)