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.34/2.34, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001244/0.001244, allocations: 168.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.765/1.765, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001181/0.001181, allocations: 99.59 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.358e-05, allocations: 6.5 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3405, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.355, allocations: 149.8 MB / 1.365 GB, free: 4.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/1.355, allocations: 82.14 kB / 1.365 GB, free: 4.133 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006115/1.362, allocations: 1.82 MB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.384e-06/1.362, allocations: 4 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.362, allocations: 0 / 1.367 GB, free: 2.516 MB / 0.823 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.0003318/1.362, allocations: 341.8 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.362, allocations: 8.031 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/1.362, allocations: 30.56 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/1.362, allocations: 0 / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.362, allocations: 171 kB / 1.368 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.362, allocations: 0 / 1.368 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.362, allocations: 0.7812 kB / 1.368 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.362, allocations: 41.19 kB / 1.368 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.362, allocations: 0 / 1.368 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.362, allocations: 5.75 kB / 1.368 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.362, allocations: 0 / 1.368 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/1.362, allocations: 0 / 1.368 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/1.363, allocations: 161.2 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/1.363, allocations: 26.55 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/1.363, allocations: 12.55 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/1.363, allocations: 0.574 MB / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.363, allocations: 34.56 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.363, allocations: 0 / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0005244/1.364, allocations: 252.6 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.364, allocations: 51.41 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/1.364, allocations: 89 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/1.364, allocations: 33.27 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/1.364, allocations: 84.12 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/1.364, allocations: 7.812 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/1.364, allocations: 4.125 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.364, allocations: 322.3 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/1.364, allocations: 4 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/1.364, allocations: 17.7 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/1.364, allocations: 7.984 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/1.364, allocations: 7.875 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.311e-05/1.364, allocations: 45.39 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.365, allocations: 13.25 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.365, allocations: 0 / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.365, allocations: 3.984 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/1.365, allocations: 8.094 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.365, allocations: 3.938 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/1.365, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/1.365, allocations: 7.984 kB / 1.369 GB, free: 15.82 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 7.728e-05/1.365, allocations: 108.9 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/1.365, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/1.365, allocations: 57.34 kB / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.365, allocations: 3.984 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.365, allocations: 0.875 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.365, allocations: 0 / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/1.365, allocations: 156.6 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.365, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/1.365, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/1.365, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/1.365, allocations: 9.125 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.365, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.365, allocations: 4 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/1.365, allocations: 79.8 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/1.365, allocations: 85.12 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/1.365, allocations: 3.438 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/1.365, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/1.365, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.365, allocations: 4 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.372e-05/1.366, allocations: 83.34 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.8e-07/1.366, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002435/1.366, allocations: 43.11 kB / 1.37 GB, free: 15.12 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.0005204/1.366, allocations: 0.6503 MB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.839e-05/1.366, allocations: 15.25 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.366, allocations: 4.062 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/1.366, allocations: 15.88 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/1.367, allocations: 4.516 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/1.367, allocations: 128.3 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.367, allocations: 0.677 MB / 1.371 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.899e-05/1.367, allocations: 7.984 kB / 1.371 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/1.367, allocations: 15.12 kB / 1.371 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.367, allocations: 4 kB / 1.371 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/1.381, allocations: 1.745 MB / 1.373 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.381, allocations: 180.9 kB / 1.373 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.968, allocations: 5.641 kB / 1.373 GB, free: 11.74 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