Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.0007626/0.0007627, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009148/0.0009149, allocations: 174.2 kB / 16.58 MB, free: 6.391 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.201/1.201, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6177/0.6177, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 12.2 kB / 493.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005529/0.1286, allocations: 258.3 kB / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.1291, allocations: 297.4 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.1291, allocations: 0 / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.047e-06/0.1291, allocations: 0 / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.1292, allocations: 0 / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1294, allocations: 71.84 kB / 0.5575 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.1295, allocations: 11.92 kB / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1295, allocations: 0 / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1295, allocations: 7.984 kB / 0.5575 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.1296, allocations: 4 kB / 0.5575 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1296, allocations: 0 / 0.5575 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.1298, allocations: 179.8 kB / 0.5577 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.1298, allocations: 7.984 kB / 0.5577 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1299, allocations: 33.58 kB / 0.5577 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.804e-05/0.13, allocations: 51.91 kB / 0.5578 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.13, allocations: 0 / 0.5578 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.13, allocations: 0 / 0.5578 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.13, allocations: 0 / 0.5578 GB, free: 10.75 MB / 430.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.0002611/0.1303, allocations: 331.7 kB / 0.5581 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1303, allocations: 8.031 kB / 0.5581 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.1303, allocations: 30.56 kB / 0.5581 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1304, allocations: 4 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.1305, allocations: 170.9 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1305, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1305, allocations: 11.95 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.1306, allocations: 33.69 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1306, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1306, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1306, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.1307, allocations: 7.938 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1308, allocations: 157.6 kB / 0.5585 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.1308, allocations: 22.58 kB / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.1309, allocations: 12.84 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/0.1314, allocations: 0.5857 MB / 0.5591 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1314, allocations: 34.52 kB / 0.5591 GB, free: 9.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1314, allocations: 0 / 0.5591 GB, free: 9.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004124/0.1318, allocations: 254.3 kB / 0.5594 GB, free: 8.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1319, allocations: 51.41 kB / 0.5594 GB, free: 8.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.132, allocations: 102.1 kB / 0.5595 GB, free: 8.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.132, allocations: 33.58 kB / 0.5596 GB, free: 8.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.132, allocations: 80.14 kB / 0.5596 GB, free: 8.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.132, allocations: 11.89 kB / 0.5596 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.132, allocations: 4 kB / 0.5596 GB, free: 8.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.1321, allocations: 310.8 kB / 0.5599 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.1321, allocations: 4 kB / 0.5599 GB, free: 8.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.1322, allocations: 21.7 kB / 0.56 GB, free: 8.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.1322, allocations: 8 kB / 0.56 GB, free: 8.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-07/0.1322, allocations: 0 / 0.56 GB, free: 8.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.175e-05/0.1323, allocations: 49.64 kB / 0.56 GB, free: 8.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1323, allocations: 11.95 kB / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1323, allocations: 0 / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.1323, allocations: 0 / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.1324, allocations: 11.98 kB / 0.56 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1324, allocations: 0 / 0.56 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.1324, allocations: 8.062 kB / 0.5601 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1324, allocations: 0 / 0.5601 GB, free: 8.012 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.1325, allocations: 109.8 kB / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.1325, allocations: 3.906 kB / 0.5602 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1326, allocations: 65.06 kB / 0.5602 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1326, allocations: 8 kB / 0.5602 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1326, allocations: 0 / 0.5602 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1326, allocations: 0 / 0.5602 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.052e-05/0.1327, allocations: 153.7 kB / 0.5604 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1327, allocations: 4 kB / 0.5604 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.1328, allocations: 4 kB / 0.5604 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1328, allocations: 0 / 0.5604 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1328, allocations: 8 kB / 0.5604 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1328, allocations: 3.953 kB / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1328, allocations: 0 / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1329, allocations: 77.05 kB / 0.5605 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.133, allocations: 77.11 kB / 0.5605 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.133, allocations: 12.09 kB / 0.5606 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.133, allocations: 3.938 kB / 0.5606 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.133, allocations: 3.953 kB / 0.5606 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1331, allocations: 4 kB / 0.5606 GB, free: 7.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.902e-05/0.1331, allocations: 83.62 kB / 0.5606 GB, free: 7.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1331, allocations: 0 / 0.5606 GB, free: 7.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1333, allocations: 28 kB / 0.5607 GB, free: 7.266 MB / 430.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 (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.0003881/0.1337, allocations: 0.6483 MB / 0.5613 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.1338, allocations: 15.92 kB / 0.5613 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1338, allocations: 4 kB / 0.5613 GB, free: 6.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.1338, allocations: 8 kB / 0.5613 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1339, allocations: 4.797 kB / 0.5613 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.1344, allocations: 387.8 kB / 0.5617 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1346, allocations: 0.6731 MB / 0.5624 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1346, allocations: 7.984 kB / 0.5624 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.1346, allocations: 7.438 kB / 0.5624 GB, free: 5.41 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1347, allocations: 0 / 0.5624 GB, free: 5.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.1453, allocations: 1.889 MB / 0.5642 GB, free: 3.727 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.1455, allocations: 213.6 kB / 0.5644 GB, free: 3.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.639, allocations: 3.125 kB / 0.5644 GB, free: 3.484 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: