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: translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008706/0.0008706, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 267.2 kB / 291.3 MB, free: 1.906 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7099/0.7099, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 16.27 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 83.08 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005229/0.1136, allocations: 269.2 kB / 0.6497 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000443/0.1141, allocations: 296.6 kB / 0.65 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.1141, allocations: 1.562 kB / 0.65 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.097e-06/0.1141, allocations: 0 / 0.65 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.1142, allocations: 0 / 0.65 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1144, allocations: 62 kB / 0.65 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.395e-05/0.1145, allocations: 7.984 kB / 0.65 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.1145, allocations: 7.984 kB / 0.65 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.1145, allocations: 4.719 kB / 0.65 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.1146, allocations: 5.094 kB / 0.6501 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1146, allocations: 4 kB / 0.6501 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.1148, allocations: 175.8 kB / 0.6502 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-06/0.1148, allocations: 0.6875 kB / 0.6502 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.1148, allocations: 33.7 kB / 0.6503 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.043e-05/0.1149, allocations: 52.48 kB / 0.6503 GB, free: 2.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1149, allocations: 0 / 0.6503 GB, free: 2.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.115, allocations: 0.5312 kB / 0.6503 GB, free: 2.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.115, allocations: 2.281 kB / 0.6503 GB, free: 2.715 MB / 446.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.0002431/0.1152, allocations: 327.4 kB / 0.6506 GB, free: 2.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.1152, allocations: 8.031 kB / 0.6506 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1153, allocations: 11.91 kB / 0.6506 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.1154, allocations: 163 kB / 0.6508 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1154, allocations: 0.5 kB / 0.6508 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1154, allocations: 8.594 kB / 0.6508 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/0.1155, allocations: 39.06 kB / 0.6508 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1155, allocations: 0 / 0.6508 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1155, allocations: 0 / 0.6508 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1155, allocations: 0 / 0.6508 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.1155, allocations: 4.656 kB / 0.6508 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.1157, allocations: 158.4 kB / 0.651 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.1157, allocations: 27.23 kB / 0.651 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.1162, allocations: 0.5847 MB / 0.6516 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1163, allocations: 35.38 kB / 0.6516 GB, free: 1.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1163, allocations: 4.656 kB / 0.6516 GB, free: 1.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003829/0.1167, allocations: 252.2 kB / 0.6519 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.1167, allocations: 52 kB / 0.6519 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.969e-05/0.1167, allocations: 97.84 kB / 0.652 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1168, allocations: 31.61 kB / 0.652 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.1168, allocations: 84.14 kB / 0.6521 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1168, allocations: 7.844 kB / 0.6521 GB, free: 496 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.1168, allocations: 0 / 0.6521 GB, free: 496 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.1169, allocations: 316.5 kB / 0.6524 GB, free: 172 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.1169, allocations: 7.984 kB / 0.6524 GB, free: 164 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.117, allocations: 18.66 kB / 0.6525 GB, free: 140 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.117, allocations: 8.688 kB / 0.6525 GB, free: 132 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.117, allocations: 0 / 0.6525 GB, free: 132 kB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.927e-05/0.1171, allocations: 58.2 kB / 0.6525 GB, free: 68 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1171, allocations: 6.062 kB / 0.6525 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1171, allocations: 0 / 0.6525 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.1171, allocations: 0 / 0.6525 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.1171, allocations: 8 kB / 0.6525 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1172, allocations: 0 / 0.6525 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.1172, allocations: 7.469 kB / 0.6525 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1172, allocations: 4 kB / 0.6526 GB, free: 48 kB / 446.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.818e-05/0.1173, allocations: 109.8 kB / 0.6527 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.1173, allocations: 11.86 kB / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.1174, allocations: 57.11 kB / 0.6527 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1174, allocations: 0 / 0.6527 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1174, allocations: 0 / 0.6527 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1174, allocations: 0.8438 kB / 0.6527 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.1175, allocations: 157.6 kB / 0.6529 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1175, allocations: 0 / 0.6529 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.1175, allocations: 8.656 kB / 0.6529 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1175, allocations: 9.375 kB / 0.6529 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.1176, allocations: 0 / 0.6529 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1176, allocations: 0 / 0.6529 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1176, allocations: 0 / 0.6529 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1177, allocations: 78.81 kB / 0.653 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1177, allocations: 81.14 kB / 0.653 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1177, allocations: 4.297 kB / 0.653 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.1178, allocations: 8 kB / 0.6531 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1178, allocations: 11.98 kB / 0.6531 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1178, allocations: 0 / 0.6531 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.1178, allocations: 79.64 kB / 0.6531 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1178, allocations: 4 kB / 0.6531 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1181, allocations: 24 kB / 0.6532 GB, free: 15.32 MB / 462.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.0001537/0.1182, allocations: 131.4 kB / 0.6533 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.1183, allocations: 27.97 kB / 0.6533 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1183, allocations: 0 / 0.6533 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-05/0.1183, allocations: 8 kB / 0.6533 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.499e-05/0.1184, allocations: 5.875 kB / 0.6533 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.1186, allocations: 116.9 kB / 0.6534 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1188, allocations: 0.677 MB / 0.6541 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.1188, allocations: 7.938 kB / 0.6541 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.1188, allocations: 11.5 kB / 0.6541 GB, free: 14.27 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1188, allocations: 4 kB / 0.6541 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Templates: time 0.002688/0.1215, allocations: 1.173 MB / 0.6553 GB, free: 13.12 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: