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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8263/0.8263, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.8 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 97.48 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 283.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/2.003e-05, allocations: 0 / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4354, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5689, allocations: 107.7 MB / 0.8626 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5692, allocations: 75.95 kB / 0.8627 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005926/0.5751, allocations: 1.819 MB / 0.8645 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5752, allocations: 0 / 0.8645 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5752, allocations: 0 / 0.8645 GB, free: 2.164 MB / 0.5261 GB 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.0002786/0.5755, allocations: 338.5 kB / 0.8648 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5755, allocations: 12.03 kB / 0.8648 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.5756, allocations: 8 kB / 0.8648 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5757, allocations: 159.1 kB / 0.865 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.5757, allocations: 3.953 kB / 0.865 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5757, allocations: 7.984 kB / 0.865 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.982e-05/0.5758, allocations: 3.938 kB / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.5758, allocations: 29.7 kB / 0.865 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5758, allocations: 4 kB / 0.865 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5759, allocations: 4 kB / 0.865 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5759, allocations: 0 / 0.865 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.576, allocations: 134.2 kB / 0.8652 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.084e-05/0.5761, allocations: 22.61 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.5761, allocations: 4.859 kB / 0.8652 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.5766, allocations: 0.5857 MB / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5766, allocations: 38.45 kB / 0.8658 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5767, allocations: 0 / 0.8658 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004947/0.5772, allocations: 254.4 kB / 0.866 GB, free: 252 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5772, allocations: 51.41 kB / 0.8661 GB, free: 188 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.5773, allocations: 93 kB / 0.8662 GB, free: 88 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5773, allocations: 29.64 kB / 0.8662 GB, free: 52 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.5773, allocations: 80.14 kB / 0.8663 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.5774, allocations: 15.8 kB / 0.8663 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5774, allocations: 0 / 0.8663 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5775, allocations: 316.9 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.5775, allocations: 4 kB / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.5775, allocations: 17.72 kB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.5776, allocations: 8 kB / 0.8666 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5776, allocations: 0 / 0.8666 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.162e-05/0.5777, allocations: 45.69 kB / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5777, allocations: 11.94 kB / 0.8667 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5777, allocations: 3.953 kB / 0.8667 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5777, allocations: 0 / 0.8667 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.5778, allocations: 20.05 kB / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-06/0.5778, allocations: 0 / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.5778, allocations: 0 / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5778, allocations: 0 / 0.8667 GB, free: 15.52 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.5779, allocations: 105 kB / 0.8668 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.755e-05/0.578, allocations: 41.69 kB / 0.8668 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.578, allocations: 3.953 kB / 0.8669 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.5781, allocations: 57.66 kB / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5781, allocations: 4 kB / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5782, allocations: 0 / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5782, allocations: 4 kB / 0.8669 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.614e-05/0.5783, allocations: 130.2 kB / 0.867 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5783, allocations: 4 kB / 0.867 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.5783, allocations: 4 kB / 0.867 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5783, allocations: 0 / 0.867 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5783, allocations: 7.938 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5783, allocations: 0 / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5783, allocations: 0 / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5785, allocations: 81.06 kB / 0.8671 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.5785, allocations: 77.11 kB / 0.8672 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.5785, allocations: 7.938 kB / 0.8672 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.5786, allocations: 7.891 kB / 0.8672 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.5786, allocations: 8.031 kB / 0.8672 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.5786, allocations: 3.984 kB / 0.8672 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.5787, allocations: 75.75 kB / 0.8673 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5787, allocations: 4 kB / 0.8673 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002056/0.5789, allocations: 32 kB / 0.8673 GB, free: 14.77 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000459/0.5794, allocations: 0.6477 MB / 0.868 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.5794, allocations: 19.92 kB / 0.868 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5794, allocations: 4 kB / 0.868 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.5795, allocations: 4 kB / 0.868 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.5796, allocations: 8.141 kB / 0.868 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.5799, allocations: 127.5 kB / 0.8681 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.5801, allocations: 0.6806 MB / 0.8688 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.5802, allocations: 5.016 kB / 0.8688 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.5802, allocations: 16.97 kB / 0.8688 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5802, allocations: 0 / 0.8688 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5988, allocations: 1.446 MB / 0.8702 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.5991, allocations: 177.2 kB / 0.8704 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.151, allocations: 0 / 0.8704 GB, free: 11.57 MB / 0.5417 GB (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/linux/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)