Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_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.001141/0.001142, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001532/0.001532, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 11.94 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7708, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0008248/0.7717, allocations: 275.1 kB / 0.9814 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.7723, allocations: 297.6 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.7724, allocations: 4 kB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.7724, allocations: 0 / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.7724, allocations: 0 / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.7728, allocations: 63.84 kB / 0.9818 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.7729, allocations: 11.92 kB / 0.9818 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.773, allocations: 7.938 kB / 0.9818 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.773, allocations: 0 / 0.9818 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.7731, allocations: 8 kB / 0.9818 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.7731, allocations: 0 / 0.9818 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.7734, allocations: 179.8 kB / 0.982 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.7734, allocations: 4 kB / 0.982 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.7735, allocations: 33.64 kB / 0.982 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.7736, allocations: 51.89 kB / 0.982 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7736, allocations: 0 / 0.982 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7736, allocations: 0 / 0.982 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7736, allocations: 0 / 0.982 GB, free: 5.348 MB / 0.7325 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.0003644/0.774, allocations: 337.6 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7741, allocations: 15.97 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.7741, allocations: 30.56 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.7742, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.7743, allocations: 163.1 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.7743, allocations: 4 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.7743, allocations: 8 kB / 0.9826 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.7745, allocations: 37.64 kB / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7745, allocations: 0 / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.7745, allocations: 0 / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7745, allocations: 7.984 kB / 0.9826 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.7746, allocations: 3.938 kB / 0.9826 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.7748, allocations: 153.7 kB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.7748, allocations: 22.61 kB / 0.9828 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.7749, allocations: 16.91 kB / 0.9828 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.7755, allocations: 0.5779 MB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7755, allocations: 34.55 kB / 0.9834 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7755, allocations: 0 / 0.9834 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005126/0.776, allocations: 254.3 kB / 0.9836 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7761, allocations: 51.41 kB / 0.9837 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.7761, allocations: 101.8 kB / 0.9838 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.7762, allocations: 33.92 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.7762, allocations: 80.14 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.7763, allocations: 11.83 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.7763, allocations: 4 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7764, allocations: 310.8 kB / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.7765, allocations: 4 kB / 0.9842 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.7765, allocations: 21.72 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.7765, allocations: 11.98 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.7765, allocations: 0 / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.745e-05/0.7766, allocations: 53.55 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7767, allocations: 11.88 kB / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.7767, allocations: 0 / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7767, allocations: 7.953 kB / 0.9843 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.7768, allocations: 11.98 kB / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7768, allocations: 0 / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.7768, allocations: 0 / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.7768, allocations: 4 kB / 0.9843 GB, free: 2.59 MB / 0.7325 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 9.382e-05/0.7769, allocations: 109.9 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.7769, allocations: 4 kB / 0.9844 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.777, allocations: 61.11 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7771, allocations: 7.938 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7771, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7771, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.7772, allocations: 149.7 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7772, allocations: 4 kB / 0.9846 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.7773, allocations: 8 kB / 0.9847 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7773, allocations: 0 / 0.9847 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.7773, allocations: 4 kB / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7773, allocations: 0 / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7773, allocations: 3.953 kB / 0.9847 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.7775, allocations: 77.44 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.7775, allocations: 89 kB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.7776, allocations: 0 / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.7776, allocations: 4.109 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.7776, allocations: 8.016 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7776, allocations: 3.953 kB / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.7777, allocations: 83.27 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7777, allocations: 0 / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002202/0.7779, allocations: 24 kB / 0.9849 GB, free: 1.859 MB / 0.7325 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.0005571/0.7785, allocations: 0.6438 MB / 0.9856 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.7786, allocations: 19.92 kB / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7786, allocations: 0 / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.7786, allocations: 12 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.7788, allocations: 1.547 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.7793, allocations: 391.4 kB / 0.986 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.7796, allocations: 0.6731 MB / 0.9866 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.7796, allocations: 7.938 kB / 0.9866 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.7797, allocations: 11.42 kB / 0.9867 GB, free: 16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7797, allocations: 0 / 0.9867 GB, free: 16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.7943, allocations: 1.891 MB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/0.7947, allocations: 224.7 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.66, allocations: 1.547 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat does not exist to compare? outputFormat=mat