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.0009071/0.0009071, allocations: 96.34 kB / 15.69 MB, free: 476 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.0009894/0.0009894, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.18/1.18, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5873/0.5873, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 8 kB / 493 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1131, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0004952/0.1136, allocations: 254.3 kB / 0.557 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004449/0.1141, allocations: 305.4 kB / 0.5573 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.315e-05/0.1141, allocations: 4 kB / 0.5573 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.345e-06/0.1141, allocations: 4 kB / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.359e-05/0.1142, allocations: 0 / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1144, allocations: 59.78 kB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.215e-05/0.1144, allocations: 4 kB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.1145, allocations: 7.984 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1145, allocations: 3.984 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.1145, allocations: 11.94 kB / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.1146, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1148, allocations: 175.8 kB / 0.5575 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1148, allocations: 4 kB / 0.5575 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1148, allocations: 25.7 kB / 0.5575 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.377e-05/0.1149, allocations: 47.91 kB / 0.5576 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1149, allocations: 0 / 0.5576 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1149, allocations: 7.922 kB / 0.5576 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1149, allocations: 0 / 0.5576 GB, free: 10.82 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.000243/0.1152, allocations: 329.4 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1152, allocations: 20.02 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.1153, allocations: 30.56 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.664e-05/0.1153, allocations: 0 / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.1154, allocations: 170.9 kB / 0.5581 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1154, allocations: 3.938 kB / 0.5581 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1154, allocations: 7.938 kB / 0.5581 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.073e-05/0.1155, allocations: 37.69 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.1155, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.1155, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1155, allocations: 4 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.1155, allocations: 4 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1157, allocations: 153.7 kB / 0.5583 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.1157, allocations: 22.55 kB / 0.5583 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/0.1162, allocations: 0.5857 MB / 0.5589 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1163, allocations: 34.52 kB / 0.559 GB, free: 9.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1163, allocations: 0 / 0.559 GB, free: 9.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.1167, allocations: 250.3 kB / 0.5592 GB, free: 8.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1167, allocations: 55.62 kB / 0.5592 GB, free: 8.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.1168, allocations: 101.8 kB / 0.5593 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1168, allocations: 25.7 kB / 0.5594 GB, free: 8.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.1168, allocations: 84.12 kB / 0.5594 GB, free: 8.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.1168, allocations: 7.906 kB / 0.5595 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.1168, allocations: 4 kB / 0.5595 GB, free: 8.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.1169, allocations: 314.8 kB / 0.5598 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.117, allocations: 7.984 kB / 0.5598 GB, free: 8.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.117, allocations: 25.66 kB / 0.5598 GB, free: 8.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.117, allocations: 8 kB / 0.5598 GB, free: 8.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.117, allocations: 0 / 0.5598 GB, free: 8.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.28e-05/0.1171, allocations: 53.62 kB / 0.5598 GB, free: 8.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1171, allocations: 11.95 kB / 0.5599 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.1171, allocations: 0 / 0.5599 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1171, allocations: 0 / 0.5599 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.1172, allocations: 4 kB / 0.5599 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1172, allocations: 8.062 kB / 0.5599 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.1172, allocations: 0 / 0.5599 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1172, allocations: 0 / 0.5599 GB, free: 8.094 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 5.521e-05/0.1173, allocations: 117.8 kB / 0.56 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.1173, allocations: 3.906 kB / 0.56 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1174, allocations: 57.14 kB / 0.56 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1174, allocations: 0 / 0.56 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1174, allocations: 4 kB / 0.56 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1174, allocations: 4 kB / 0.5601 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.495e-05/0.1175, allocations: 153.7 kB / 0.5602 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1175, allocations: 0 / 0.5602 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1176, allocations: 4 kB / 0.5602 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.1176, allocations: 3.984 kB / 0.5602 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.1176, allocations: 0 / 0.5602 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1176, allocations: 11.95 kB / 0.5602 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1176, allocations: 3.938 kB / 0.5602 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.677e-05/0.1177, allocations: 81.48 kB / 0.5603 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.1177, allocations: 77.11 kB / 0.5604 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1178, allocations: 0 / 0.5604 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.1178, allocations: 4.031 kB / 0.5604 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.1178, allocations: 7.938 kB / 0.5604 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1178, allocations: 0 / 0.5604 GB, free: 7.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.1179, allocations: 79.28 kB / 0.5605 GB, free: 7.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1179, allocations: 0 / 0.5605 GB, free: 7.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001914/0.1181, allocations: 32 kB / 0.5605 GB, free: 7.352 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.0003738/0.1184, allocations: 0.6443 MB / 0.5611 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.612e-05/0.1185, allocations: 15.94 kB / 0.5611 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1185, allocations: 0 / 0.5611 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.1185, allocations: 11.94 kB / 0.5611 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.319e-05/0.1186, allocations: 7.891 kB / 0.5612 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.1191, allocations: 0.5219 MB / 0.5617 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1193, allocations: 0.677 MB / 0.5623 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.145e-05/0.1193, allocations: 4 kB / 0.5623 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.1194, allocations: 19.44 kB / 0.5623 GB, free: 5.34 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1194, allocations: 0 / 0.5623 GB, free: 5.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.3564, allocations: 1.859 MB / 0.5642 GB, free: 3.672 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.3567, allocations: 215.1 kB / 0.5644 GB, free: 3.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.814, allocations: 0 / 0.5644 GB, free: 3.43 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: