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.0007436/0.0007435, allocations: 93.34 kB / 16.02 MB, free: 84 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.0009765/0.0009765, allocations: 182.2 kB / 16.92 MB, free: 6.684 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.285/1.285, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002922, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005863/0.1297, allocations: 257 kB / 0.5603 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.1304, allocations: 351 kB / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.1304, allocations: 0 / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1304, allocations: 0 / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.1305, allocations: 0 / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1308, allocations: 63.84 kB / 0.5607 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.1308, allocations: 12 kB / 0.5607 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1309, allocations: 0 / 0.5607 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.1309, allocations: 4 kB / 0.5607 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.1309, allocations: 11.92 kB / 0.5607 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.131, allocations: 0 / 0.5607 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.1313, allocations: 187.8 kB / 0.5609 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1313, allocations: 0 / 0.5609 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1313, allocations: 41.64 kB / 0.5609 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1315, allocations: 79.84 kB / 0.561 GB, free: 7.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1315, allocations: 0 / 0.561 GB, free: 7.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1315, allocations: 0 / 0.561 GB, free: 7.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1315, allocations: 0 / 0.561 GB, free: 7.957 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.0002921/0.1318, allocations: 331.9 kB / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1319, allocations: 11.97 kB / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1319, allocations: 30.75 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1319, allocations: 12.84 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.132, allocations: 164.3 kB / 0.5615 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.132, allocations: 8.312 kB / 0.5615 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1321, allocations: 4.375 kB / 0.5615 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.1322, allocations: 42.23 kB / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1322, allocations: 3.938 kB / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1322, allocations: 0 / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1322, allocations: 0 / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.1322, allocations: 4 kB / 0.5616 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1324, allocations: 149.7 kB / 0.5617 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.1324, allocations: 30.52 kB / 0.5618 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1325, allocations: 4.859 kB / 0.5618 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.133, allocations: 0.5896 MB / 0.5623 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1331, allocations: 30.56 kB / 0.5624 GB, free: 6.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1331, allocations: 0 / 0.5624 GB, free: 6.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004492/0.1335, allocations: 258.2 kB / 0.5626 GB, free: 5.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1336, allocations: 55.39 kB / 0.5627 GB, free: 5.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.1336, allocations: 94.08 kB / 0.5628 GB, free: 5.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1337, allocations: 29.7 kB / 0.5628 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.1337, allocations: 84.14 kB / 0.5629 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1337, allocations: 7.906 kB / 0.5629 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.1338, allocations: 13.7 kB / 0.5629 GB, free: 5.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.1339, allocations: 314.8 kB / 0.5632 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.1339, allocations: 7.938 kB / 0.5632 GB, free: 5.309 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.1339, allocations: 17.72 kB / 0.5632 GB, free: 5.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.134, allocations: 33.7 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.134, allocations: 0 / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8e-05/0.1341, allocations: 49.64 kB / 0.5633 GB, free: 5.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1341, allocations: 9.656 kB / 0.5633 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1341, allocations: 0 / 0.5633 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1341, allocations: 7.984 kB / 0.5633 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.1342, allocations: 4 kB / 0.5633 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1342, allocations: 3.938 kB / 0.5633 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1342, allocations: 8.062 kB / 0.5633 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1342, allocations: 0 / 0.5633 GB, free: 5.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.1343, allocations: 109.8 kB / 0.5634 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1343, allocations: 11.84 kB / 0.5634 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1344, allocations: 57.11 kB / 0.5635 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1344, allocations: 0 / 0.5635 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1344, allocations: 0 / 0.5635 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1344, allocations: 0 / 0.5635 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1345, allocations: 165.7 kB / 0.5637 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1345, allocations: 0 / 0.5637 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.1346, allocations: 4 kB / 0.5637 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1346, allocations: 3.938 kB / 0.5637 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1346, allocations: 0 / 0.5637 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1346, allocations: 0 / 0.5637 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1346, allocations: 0 / 0.5637 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1348, allocations: 89.41 kB / 0.5638 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.1348, allocations: 81.05 kB / 0.5638 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1348, allocations: 4.062 kB / 0.5638 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.1349, allocations: 4.031 kB / 0.5638 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.1349, allocations: 0 / 0.5638 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1349, allocations: 4 kB / 0.5638 GB, free: 4.535 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.447e-05/0.1349, allocations: 91.2 kB / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1349, allocations: 0 / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1352, allocations: 24 kB / 0.564 GB, free: 4.422 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 (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.0004228/0.1356, allocations: 0.6435 MB / 0.5646 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.867e-05/0.1357, allocations: 19.98 kB / 0.5646 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1357, allocations: 0 / 0.5646 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.1357, allocations: 8 kB / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1358, allocations: 0 / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.1367, allocations: 1.154 MB / 0.5657 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1369, allocations: 0.6847 MB / 0.5664 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.343e-05/0.137, allocations: 4 kB / 0.5664 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.137, allocations: 7.438 kB / 0.5664 GB, free: 1.754 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.137, allocations: 4 kB / 0.5664 GB, free: 1.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.1485, allocations: 1.883 MB / 0.5683 GB, free: 56 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.1488, allocations: 244 kB / 0.5685 GB, free: 15.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.853, allocations: 0 / 0.5685 GB, free: 15.79 MB / 446.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/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)