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.0009074/0.0009074, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001207/0.001207, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.002099/0.002099, allocations: 238.5 kB / 259.4 MB, free: 13 MB / 250.7 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 0.671/0.671, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.678e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001265/0.001292, allocations: 0.5471 MB / 0.6468 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004846/0.001776, allocations: 311.6 kB / 0.6471 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.001801, allocations: 3.938 kB / 0.6471 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.00182, allocations: 4 kB / 0.6471 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.401e-05/0.001844, allocations: 4 kB / 0.6471 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.002184, allocations: 95.62 kB / 0.6472 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.209e-05/0.002236, allocations: 19.92 kB / 0.6472 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.002275, allocations: 3.984 kB / 0.6472 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.002301, allocations: 4 kB / 0.6472 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.002345, allocations: 4 kB / 0.6472 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.002359, allocations: 0 / 0.6472 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.002568, allocations: 187.7 kB / 0.6474 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.002581, allocations: 0 / 0.6474 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.002596, allocations: 0 / 0.6474 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.002759, allocations: 115.6 kB / 0.6475 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002761, allocations: 0 / 0.6475 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.894e-06/0.002763, allocations: 0 / 0.6475 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.002768, allocations: 4 kB / 0.6475 GB, free: 0.625 MB / 0.5573 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.0003051/0.003074, allocations: 258.2 kB / 0.6478 GB, free: 348 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.00312, allocations: 13.94 kB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.003152, allocations: 42.73 kB / 0.6478 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.003177, allocations: 0.9375 kB / 0.6478 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.147e-05/0.003258, allocations: 105.8 kB / 0.6479 GB, free: 152 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003269, allocations: 384 / 0.6479 GB, free: 152 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.003288, allocations: 4.312 kB / 0.6479 GB, free: 148 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003389, allocations: 67.95 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003396, allocations: 192 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.003405, allocations: 384 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.003411, allocations: 8.109 kB / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.003432, allocations: 4 kB / 0.648 GB, free: 56 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.222/0.2254, allocations: 118.5 kB / 0.6481 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.2255, allocations: 23.08 kB / 0.6482 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.2255, allocations: 9.734 kB / 0.6482 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007204/0.2262, allocations: 178.5 kB / 0.6483 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.2263, allocations: 32.97 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.2263, allocations: 0 / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0004065/0.2267, allocations: 182 kB / 0.6485 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.2267, allocations: 55.19 kB / 0.6486 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.2267, allocations: 96.66 kB / 0.6487 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-06/0.2267, allocations: 27.33 kB / 0.6487 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.2268, allocations: 83.62 kB / 0.6488 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2268, allocations: 10.39 kB / 0.6488 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.2268, allocations: 18.69 kB / 0.6488 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.563e-05/0.2268, allocations: 313.5 kB / 0.6491 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.2268, allocations: 11.69 kB / 0.6491 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.2269, allocations: 18.17 kB / 0.6491 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.2269, allocations: 25.55 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2269, allocations: 0.75 kB / 0.6492 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.06e-05/0.227, allocations: 58.5 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.227, allocations: 5.75 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.227, allocations: 2.969 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.227, allocations: 5.5 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.227, allocations: 8.109 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.227, allocations: 1.812 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.2271, allocations: 1.281 kB / 0.6493 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2271, allocations: 2.141 kB / 0.6493 GB, free: 56.11 MB / 0.5573 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 3.327e-05/0.2271, allocations: 117.5 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.2271, allocations: 2.188 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.304e-05/0.2272, allocations: 58.31 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2272, allocations: 5.609 kB / 0.6494 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2272, allocations: 0 / 0.6494 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2272, allocations: 0.7188 kB / 0.6494 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.93e-05/0.2273, allocations: 127.1 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2273, allocations: 1.438 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.2273, allocations: 6.172 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2273, allocations: 1.375 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2273, allocations: 1.359 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2273, allocations: 4.75 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2273, allocations: 3.969 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.194e-05/0.2274, allocations: 81.42 kB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.2274, allocations: 8.5 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2274, allocations: 1.547 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.2274, allocations: 6.359 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.2274, allocations: 4.125 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.2274, allocations: 1.656 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.23e-05/0.2275, allocations: 83.02 kB / 0.6497 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2275, allocations: 0.5 kB / 0.6497 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001778/0.2276, allocations: 33.17 kB / 0.6498 GB, free: 55.65 MB / 0.5573 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.0002595/0.2279, allocations: 0.6441 MB / 0.6504 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.228, allocations: 15.41 kB / 0.6504 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.228, allocations: 0.5938 kB / 0.6504 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.228, allocations: 12.17 kB / 0.6504 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.2281, allocations: 6.469 kB / 0.6504 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.2286, allocations: 1.149 MB / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.728e-05/0.2286, allocations: 65.7 kB / 0.6516 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.2287, allocations: 4.953 kB / 0.6516 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.2287, allocations: 14.94 kB / 0.6516 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.2287, allocations: 0 / 0.6516 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.2475, allocations: 2.796 MB / 0.6544 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.932, allocations: 3.75 kB / 0.6544 GB, free: 53.14 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.536400836892426] Failed to read output from testmodel.py, exit status != 0: 7.014061706140637 7.02164775 7.017173238 Calling exit ...