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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001135/0.001135, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.77/1.77, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009921/0.0009922, allocations: 103 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.847e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2861, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.984/1.27, allocations: 148.3 MB / 1.351 GB, free: 18.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.27, allocations: 81.55 kB / 1.351 GB, free: 18.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006718/1.277, allocations: 1.81 MB / 1.353 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.472e-06/1.277, allocations: 1.422 kB / 1.353 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.277, allocations: 0 / 1.353 GB, free: 34.18 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.0002768/1.277, allocations: 342.5 kB / 1.353 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.278, allocations: 8.156 kB / 1.353 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/1.278, allocations: 4.641 kB / 1.353 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.278e-05/1.278, allocations: 164.5 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.278, allocations: 0.7031 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.278, allocations: 0 / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.717e-05/1.278, allocations: 7.812 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.303e-05/1.278, allocations: 34.64 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.278, allocations: 0 / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.278, allocations: 7.938 kB / 1.353 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.278, allocations: 0 / 1.353 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/1.278, allocations: 144.7 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/1.278, allocations: 18.91 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/1.278, allocations: 8.734 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/1.279, allocations: 0.5792 MB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.279, allocations: 35.05 kB / 1.354 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.279, allocations: 3.938 kB / 1.354 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004975/1.279, allocations: 232.9 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/1.279, allocations: 59.11 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/1.279, allocations: 89.62 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/1.279, allocations: 26.22 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/1.279, allocations: 80.14 kB / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.279, allocations: 16.14 kB / 1.355 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.279, allocations: 1.125 kB / 1.355 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.279, allocations: 316 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/1.279, allocations: 3.312 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/1.279, allocations: 26.17 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/1.28, allocations: 7.875 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/1.28, allocations: 0 / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.905e-05/1.28, allocations: 50.64 kB / 1.355 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.28, allocations: 4.578 kB / 1.355 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.28, allocations: 3.812 kB / 1.355 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.28, allocations: 3.938 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/1.28, allocations: 9.344 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.28, allocations: 3.812 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/1.28, allocations: 3.938 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.28, allocations: 0.7969 kB / 1.355 GB, free: 31.77 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.22e-05/1.28, allocations: 105.9 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.779e-05/1.28, allocations: 48.22 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/1.28, allocations: 8.453 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/1.28, allocations: 53.47 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.28, allocations: 4.656 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.28, allocations: 3.875 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.28, allocations: 2.5 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/1.28, allocations: 129.8 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.28, allocations: 3.953 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/1.28, allocations: 5.109 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.28, allocations: 0 / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.28, allocations: 0.6562 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.28, allocations: 0 / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.28, allocations: 3.844 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/1.28, allocations: 80.73 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/1.28, allocations: 81.77 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/1.28, allocations: 0.75 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/1.28, allocations: 3.844 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/1.281, allocations: 1.359 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/1.281, allocations: 0 / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.25e-05/1.281, allocations: 83.36 kB / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.281, allocations: 0 / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002212/1.281, allocations: 40.66 kB / 1.356 GB, free: 31.15 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.0004466/1.281, allocations: 0.6487 MB / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.431e-05/1.281, allocations: 19.84 kB / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.281, allocations: 0 / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/1.281, allocations: 8.953 kB / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/1.281, allocations: 5.828 kB / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/1.282, allocations: 112 kB / 1.356 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/1.282, allocations: 0.688 MB / 1.357 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.799e-05/1.282, allocations: 9.5 kB / 1.357 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/1.282, allocations: 11.38 kB / 1.357 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.282, allocations: 0 / 1.357 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/1.301, allocations: 1.428 MB / 1.358 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.301, allocations: 178.1 kB / 1.359 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.779, allocations: 0 / 1.359 GB, free: 29.43 MB / 0.8386 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