Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_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.001027/0.001027, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 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.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005711, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7565, allocations: 142.3 MB / 0.9538 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006487/0.7572, allocations: 273.5 kB / 0.9541 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005113/0.7577, allocations: 294 kB / 0.9544 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.7577, allocations: 1.219 kB / 0.9544 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.7578, allocations: 0 / 0.9544 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.7578, allocations: 0 / 0.9544 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.7581, allocations: 69.28 kB / 0.9545 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.7582, allocations: 12.64 kB / 0.9545 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.7582, allocations: 1.188 kB / 0.9545 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.7583, allocations: 1.938 kB / 0.9545 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.7583, allocations: 10.41 kB / 0.9545 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.7583, allocations: 1.312 kB / 0.9545 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.7586, allocations: 181.9 kB / 0.9547 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.7586, allocations: 3.984 kB / 0.9547 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.7587, allocations: 31.14 kB / 0.9547 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.7588, allocations: 52.88 kB / 0.9547 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7588, allocations: 1 kB / 0.9547 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7588, allocations: 0 / 0.9547 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.7588, allocations: 0 / 0.9547 GB, free: 7.664 MB / 0.7169 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.000233/0.759, allocations: 337.9 kB / 0.9551 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7591, allocations: 9.875 kB / 0.9551 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.7591, allocations: 30.56 kB / 0.9551 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.7592, allocations: 5.328 kB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.238e-05/0.7592, allocations: 160.1 kB / 0.9553 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.7593, allocations: 5.125 kB / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.7593, allocations: 5.125 kB / 0.9553 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.7594, allocations: 38.03 kB / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7594, allocations: 3.984 kB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.7594, allocations: 1.094 kB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7594, allocations: 0 / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.7594, allocations: 10.3 kB / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.7596, allocations: 158.7 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.7596, allocations: 22.55 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.7596, allocations: 15.66 kB / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.7602, allocations: 0.5766 MB / 0.9561 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.7602, allocations: 35.78 kB / 0.9561 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7602, allocations: 0 / 0.9561 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005923/0.7608, allocations: 256.2 kB / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.7609, allocations: 55.34 kB / 0.9564 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.7609, allocations: 101.5 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.761, allocations: 25.92 kB / 0.9565 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.761, allocations: 85.3 kB / 0.9566 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.7611, allocations: 12.98 kB / 0.9566 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.7611, allocations: 5.281 kB / 0.9566 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.7611, allocations: 311.8 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.7612, allocations: 2.562 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.7612, allocations: 23.73 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.7612, allocations: 7.969 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.7612, allocations: 1.031 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.382e-05/0.7613, allocations: 53.52 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.7614, allocations: 5.781 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7614, allocations: 1.25 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7614, allocations: 5.328 kB / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.7615, allocations: 9.156 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.7615, allocations: 1.562 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.7615, allocations: 3.953 kB / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.7615, allocations: 2.375 kB / 0.957 GB, free: 5.07 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.7616, allocations: 111.1 kB / 0.9571 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.7616, allocations: 1.25 kB / 0.9571 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.7617, allocations: 62.77 kB / 0.9572 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7618, allocations: 0 / 0.9572 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7618, allocations: 1.344 kB / 0.9572 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7618, allocations: 0 / 0.9572 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.7619, allocations: 153.9 kB / 0.9573 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.7619, allocations: 0 / 0.9573 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.7619, allocations: 9.656 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7619, allocations: 0 / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.762, allocations: 5.375 kB / 0.9574 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.762, allocations: 3.938 kB / 0.9574 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.762, allocations: 3.984 kB / 0.9574 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.7621, allocations: 86.59 kB / 0.9575 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.7622, allocations: 86.33 kB / 0.9575 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.7622, allocations: 5.344 kB / 0.9575 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.7622, allocations: 4.062 kB / 0.9575 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.7623, allocations: 1.906 kB / 0.9575 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.7623, allocations: 1.25 kB / 0.9575 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.7623, allocations: 82.42 kB / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7623, allocations: 0 / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002492/0.7626, allocations: 26.16 kB / 0.9576 GB, free: 4.406 MB / 0.7169 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 (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.0004311/0.763, allocations: 0.6485 MB / 0.9583 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.7631, allocations: 18.39 kB / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7631, allocations: 1.125 kB / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.7631, allocations: 10.03 kB / 0.9583 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.7633, allocations: 1.344 kB / 0.9583 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.7639, allocations: 381.2 kB / 0.9587 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.764, allocations: 0.6742 MB / 0.9593 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.7641, allocations: 6.609 kB / 0.9593 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.7641, allocations: 10.19 kB / 0.9594 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7641, allocations: 0 / 0.9594 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.7762, allocations: 1.892 MB / 0.9612 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.7765, allocations: 224.9 kB / 0.9614 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.669, allocations: 3.938 kB / 0.9614 GB, free: 1.582 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat does not exist to compare? outputFormat=mat