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.001139/0.001139, allocations: 104.9 kB / 16.4 MB, free: 6.039 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.00119/0.00119, allocations: 191.9 kB / 17.34 MB, free: 5.629 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.8 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.52 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 77.93 MB / 0.6441 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001545/0.1336, allocations: 0.519 MB / 0.6446 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.1342, allocations: 327.3 kB / 0.6449 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.1343, allocations: 0 / 0.6449 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.1343, allocations: 0 / 0.6449 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.1343, allocations: 3.938 kB / 0.6449 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1347, allocations: 99.75 kB / 0.645 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.1348, allocations: 15.97 kB / 0.645 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.1348, allocations: 7.938 kB / 0.645 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.1349, allocations: 3.938 kB / 0.645 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.1349, allocations: 4 kB / 0.645 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1349, allocations: 0 / 0.645 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1352, allocations: 191.8 kB / 0.6452 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1352, allocations: 3.984 kB / 0.6452 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1353, allocations: 3.938 kB / 0.6452 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1354, allocations: 84.08 kB / 0.6453 GB, free: 8.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1354, allocations: 0 / 0.6453 GB, free: 8.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1354, allocations: 3.938 kB / 0.6453 GB, free: 8.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1355, allocations: 4 kB / 0.6453 GB, free: 8.336 MB / 494.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.0003228/0.1358, allocations: 335.3 kB / 0.6456 GB, free: 7.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1358, allocations: 12.62 kB / 0.6456 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1359, allocations: 34.75 kB / 0.6456 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1359, allocations: 0.9375 kB / 0.6456 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.136, allocations: 164.4 kB / 0.6458 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.136, allocations: 8.375 kB / 0.6458 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1361, allocations: 4.328 kB / 0.6458 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.1361, allocations: 30.27 kB / 0.6458 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1362, allocations: 3.938 kB / 0.6458 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1362, allocations: 7.984 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1362, allocations: 3.938 kB / 0.6459 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.1362, allocations: 4 kB / 0.6459 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1364, allocations: 157.6 kB / 0.646 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.1364, allocations: 22.61 kB / 0.646 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.1364, allocations: 8.922 kB / 0.646 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.137, allocations: 0.5739 MB / 0.6466 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1371, allocations: 42.56 kB / 0.6466 GB, free: 6.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.1371, allocations: 0 / 0.6466 GB, free: 6.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000454/0.1375, allocations: 254.3 kB / 0.6469 GB, free: 6.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1376, allocations: 59.34 kB / 0.6469 GB, free: 6.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.1377, allocations: 97.84 kB / 0.647 GB, free: 6.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1377, allocations: 25.7 kB / 0.6471 GB, free: 6.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1377, allocations: 88.36 kB / 0.6471 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1378, allocations: 11.91 kB / 0.6472 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1378, allocations: 13.72 kB / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1379, allocations: 318.8 kB / 0.6475 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.138, allocations: 7.938 kB / 0.6475 GB, free: 5.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.138, allocations: 17.72 kB / 0.6475 GB, free: 5.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.138, allocations: 29.72 kB / 0.6475 GB, free: 5.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.138, allocations: 0 / 0.6475 GB, free: 5.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.1382, allocations: 53.62 kB / 0.6476 GB, free: 5.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1382, allocations: 7.938 kB / 0.6476 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1382, allocations: 0 / 0.6476 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1382, allocations: 4 kB / 0.6476 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.1383, allocations: 7.984 kB / 0.6476 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1383, allocations: 0 / 0.6476 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.1383, allocations: 4 kB / 0.6476 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1383, allocations: 4.062 kB / 0.6476 GB, free: 5.535 MB / 494.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.593e-05/0.1384, allocations: 113.8 kB / 0.6477 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.1384, allocations: 11.89 kB / 0.6477 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1385, allocations: 49.19 kB / 0.6478 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1385, allocations: 0 / 0.6478 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1385, allocations: 0 / 0.6478 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1386, allocations: 3.984 kB / 0.6478 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1387, allocations: 157.7 kB / 0.6479 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1387, allocations: 0 / 0.6479 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1388, allocations: 8 kB / 0.6479 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1388, allocations: 3.938 kB / 0.6479 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1388, allocations: 0 / 0.6479 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1388, allocations: 0 / 0.6479 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1388, allocations: 3.938 kB / 0.6479 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.139, allocations: 77.12 kB / 0.648 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.139, allocations: 85.03 kB / 0.6481 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.139, allocations: 0 / 0.6481 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.1391, allocations: 12.03 kB / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.1391, allocations: 0 / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1391, allocations: 0 / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.3e-05/0.1391, allocations: 83.7 kB / 0.6482 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1391, allocations: 0 / 0.6482 GB, free: 4.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1394, allocations: 27.92 kB / 0.6482 GB, free: 4.805 MB / 494.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.0004732/0.1399, allocations: 0.6554 MB / 0.6489 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.14, allocations: 19.97 kB / 0.6489 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.14, allocations: 4 kB / 0.6489 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.14, allocations: 7.938 kB / 0.6489 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1401, allocations: 4 kB / 0.6489 GB, free: 4.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.1411, allocations: 1.143 MB / 0.65 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1413, allocations: 0.6807 MB / 0.6507 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.1414, allocations: 0 / 0.6507 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.1414, allocations: 15.42 kB / 0.6507 GB, free: 2.129 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1414, allocations: 0 / 0.6507 GB, free: 2.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.1603, allocations: 2.096 MB / 0.6527 GB, free: 176 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.572, allocations: 11.62 kB / 0.6527 GB, free: 172 kB / 494.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)