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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 215.1 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002518/0.002518, allocations: 287.5 kB / 313.5 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.211/1.211, allocations: 180.6 MB / 0.5377 GB, free: 12.86 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002978/0.002978, allocations: 90.45 kB / 0.7403 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1697, allocations: 95.39 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001711/0.1714, allocations: 0.5572 MB / 0.834 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.1721, allocations: 339.3 kB / 0.8344 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1721, allocations: 0 / 0.8344 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1722, allocations: 3.938 kB / 0.8344 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.1722, allocations: 0 / 0.8344 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1726, allocations: 99.69 kB / 0.8345 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.1726, allocations: 15.98 kB / 0.8345 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.1727, allocations: 3.938 kB / 0.8345 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.1727, allocations: 8 kB / 0.8345 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.1728, allocations: 3.984 kB / 0.8345 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1728, allocations: 0 / 0.8345 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.1731, allocations: 195.8 kB / 0.8347 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1731, allocations: 4 kB / 0.8347 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.1731, allocations: 3.938 kB / 0.8347 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1733, allocations: 91.95 kB / 0.8348 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1733, allocations: 0 / 0.8348 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1733, allocations: 0 / 0.8348 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1733, allocations: 4 kB / 0.8348 GB, free: 7.32 MB / 0.5762 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.0003451/0.1736, allocations: 262.2 kB / 0.835 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1737, allocations: 13.33 kB / 0.835 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.1737, allocations: 192 / 0.835 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.1737, allocations: 30.75 kB / 0.8351 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1738, allocations: 8.891 kB / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1739, allocations: 110.5 kB / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1739, allocations: 384 / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1739, allocations: 4.375 kB / 0.8352 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.174, allocations: 42 kB / 0.8352 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.174, allocations: 0 / 0.8352 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.174, allocations: 0 / 0.8352 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.174, allocations: 0 / 0.8352 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.174, allocations: 4 kB / 0.8352 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1742, allocations: 128.7 kB / 0.8353 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.1742, allocations: 26.55 kB / 0.8354 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.1743, allocations: 8.859 kB / 0.8354 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.1755, allocations: 183.9 kB / 0.8356 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1756, allocations: 34.5 kB / 0.8356 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1756, allocations: 0 / 0.8356 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004654/0.176, allocations: 177.2 kB / 0.8358 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.1761, allocations: 51.62 kB / 0.8358 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.1762, allocations: 113.8 kB / 0.8359 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1762, allocations: 25.7 kB / 0.8359 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1762, allocations: 84.12 kB / 0.836 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1763, allocations: 7.953 kB / 0.836 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1763, allocations: 17.72 kB / 0.836 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1765, allocations: 310.8 kB / 0.8363 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.1765, allocations: 11.98 kB / 0.8364 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.1765, allocations: 21.66 kB / 0.8364 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.1766, allocations: 21.72 kB / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1766, allocations: 4 kB / 0.8364 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.764e-05/0.1767, allocations: 65.52 kB / 0.8365 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1767, allocations: 4 kB / 0.8365 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1767, allocations: 0 / 0.8365 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1767, allocations: 0 / 0.8365 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.1768, allocations: 12.06 kB / 0.8365 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1768, allocations: 0 / 0.8365 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.1768, allocations: 0 / 0.8365 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1768, allocations: 4 kB / 0.8365 GB, free: 5.336 MB / 0.5762 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 () * 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 9.872e-05/0.1769, allocations: 110.5 kB / 0.8366 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.1769, allocations: 7.938 kB / 0.8366 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.177, allocations: 57.31 kB / 0.8366 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.177, allocations: 0 / 0.8366 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.177, allocations: 4 kB / 0.8367 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.177, allocations: 0 / 0.8367 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.1772, allocations: 128.8 kB / 0.8368 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1772, allocations: 0 / 0.8368 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1772, allocations: 15.92 kB / 0.8368 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1772, allocations: 0 / 0.8368 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1772, allocations: 0 / 0.8368 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1772, allocations: 0 / 0.8368 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1772, allocations: 0 / 0.8368 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1774, allocations: 85.06 kB / 0.8369 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.1774, allocations: 7.891 kB / 0.8369 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1774, allocations: 0 / 0.8369 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1774, allocations: 3.938 kB / 0.8369 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1774, allocations: 8.016 kB / 0.8369 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1774, allocations: 3.938 kB / 0.8369 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.1775, allocations: 79.28 kB / 0.837 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1775, allocations: 0 / 0.837 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002324/0.1777, allocations: 39.86 kB / 0.837 GB, free: 4.711 MB / 0.5762 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 () * 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.0005404/0.1783, allocations: 0.6403 MB / 0.8376 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.1783, allocations: 15.94 kB / 0.8376 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1784, allocations: 4 kB / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.1784, allocations: 7.984 kB / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.1785, allocations: 1.75 kB / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1796, allocations: 1.152 MB / 0.8388 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.18, allocations: 0.6768 MB / 0.8394 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.18, allocations: 4 kB / 0.8395 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.18, allocations: 11.44 kB / 0.8395 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.18, allocations: 0 / 0.8395 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.2041, allocations: 2.278 MB / 0.8417 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 9.25 kB / 0.8417 GB, free: 15.95 MB / 0.5919 GB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.373969539010432] Failed to read output from testmodel.py, exit status != 0: 11.390669504005928 11.417459251 11.239937421 Calling exit ...