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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 184.2 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009849, allocations: 103.4 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.602e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.307, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.362, allocations: 149.1 MB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.362, allocations: 77.42 kB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00645/1.369, allocations: 1.81 MB / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.836e-06/1.369, allocations: 0 / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.369, allocations: 3.938 kB / 1.36 GB, free: 32.79 MB / 0.8386 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.0003378/1.369, allocations: 342.7 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.369, allocations: 11.22 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/1.369, allocations: 4 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/1.369, allocations: 164.8 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.369, allocations: 3.875 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/1.369, allocations: 0.7812 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.473e-05/1.369, allocations: 0 / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.382e-05/1.369, allocations: 30.97 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.369, allocations: 3.875 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.369, allocations: 0 / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.369, allocations: 0 / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/1.37, allocations: 147.7 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/1.37, allocations: 20.83 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/1.37, allocations: 4.859 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/1.37, allocations: 0.5824 MB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/1.37, allocations: 33.62 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.37, allocations: 0 / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005112/1.371, allocations: 246.9 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/1.371, allocations: 51.41 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/1.371, allocations: 90.17 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/1.371, allocations: 29.83 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/1.371, allocations: 89.06 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/1.371, allocations: 7.812 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/1.371, allocations: 0 / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.371, allocations: 316 kB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/1.371, allocations: 7.094 kB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/1.371, allocations: 14.89 kB / 1.362 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/1.371, allocations: 16.3 kB / 1.362 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.371, allocations: 3.953 kB / 1.362 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.126e-05/1.371, allocations: 50.61 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.371, allocations: 7.781 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.371, allocations: 0 / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.371, allocations: 5.203 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/1.371, allocations: 3.844 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.371, allocations: 1.359 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/1.371, allocations: 3.844 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.371, allocations: 64 / 1.362 GB, free: 30.39 MB / 0.8386 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 () * 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 6.595e-05/1.371, allocations: 108.9 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.548e-05/1.372, allocations: 44.11 kB / 1.362 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/1.372, allocations: 5.266 kB / 1.362 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/1.372, allocations: 52.59 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.372, allocations: 3.875 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.372, allocations: 0 / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.372, allocations: 0 / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.228e-05/1.372, allocations: 136.8 kB / 1.362 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.372, allocations: 5.688 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/1.372, allocations: 7.781 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.372, allocations: 0 / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.372, allocations: 5.656 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.372, allocations: 1.5 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.372, allocations: 0 / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/1.372, allocations: 72.62 kB / 1.362 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/1.372, allocations: 81.06 kB / 1.363 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.372, allocations: 7.875 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.205e-05/1.372, allocations: 1.406 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/1.372, allocations: 0 / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.372, allocations: 5.734 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.287e-05/1.372, allocations: 79.06 kB / 1.363 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.372, allocations: 0 / 1.363 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000232/1.372, allocations: 36.55 kB / 1.363 GB, free: 29.78 MB / 0.8386 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 () * 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.0004518/1.373, allocations: 0.6558 MB / 1.363 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.699e-05/1.373, allocations: 15.64 kB / 1.363 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.373, allocations: 0 / 1.363 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/1.373, allocations: 13.22 kB / 1.363 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/1.373, allocations: 4.719 kB / 1.363 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/1.373, allocations: 123.6 kB / 1.363 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.374, allocations: 0.6891 MB / 1.364 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.7e-05/1.374, allocations: 7.828 kB / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/1.374, allocations: 13 kB / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.374, allocations: 0 / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/1.395, allocations: 1.431 MB / 1.366 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.395, allocations: 175.5 kB / 1.366 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/3.082, allocations: 0 / 1.366 GB, free: 28.05 MB / 0.8386 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) 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