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.001669/0.001669, allocations: 100 kB / 15.05 MB, free: 1.105 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.001739/0.001738, allocations: 177.3 kB / 15.95 MB, free: 216 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.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.501/2.501, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004712, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8437, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001099/0.8449, allocations: 261.6 kB / 0.9539 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.8457, allocations: 302.2 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.8457, allocations: 0 / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-06/0.8458, allocations: 0 / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.8458, allocations: 3.984 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.8462, allocations: 63.47 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.8462, allocations: 2.719 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.8463, allocations: 5.031 kB / 0.9542 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.8463, allocations: 6.156 kB / 0.9542 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.8464, allocations: 10.08 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.8464, allocations: 1.062 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.8467, allocations: 177.9 kB / 0.9544 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.8468, allocations: 1.25 kB / 0.9544 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.8468, allocations: 26.77 kB / 0.9544 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.8469, allocations: 53.19 kB / 0.9545 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.8469, allocations: 3.938 kB / 0.9545 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.886e-06/0.8469, allocations: 0 / 0.9545 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.847, allocations: 4 kB / 0.9545 GB, free: 7.438 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.0002995/0.8473, allocations: 338 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.8473, allocations: 9.281 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.8474, allocations: 35.44 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.8474, allocations: 5.391 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.8475, allocations: 164.6 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8475, allocations: 0 / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.8476, allocations: 2 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.8477, allocations: 37.2 kB / 0.955 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8477, allocations: 0 / 0.955 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8477, allocations: 1.469 kB / 0.955 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8477, allocations: 0 / 0.955 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.8478, allocations: 10.88 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.8479, allocations: 152.6 kB / 0.9552 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.848, allocations: 28.31 kB / 0.9552 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.8485, allocations: 0.584 MB / 0.9558 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8486, allocations: 31.47 kB / 0.9558 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.8486, allocations: 0 / 0.9558 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005127/0.8491, allocations: 256.2 kB / 0.9561 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.8491, allocations: 52.78 kB / 0.9561 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.8492, allocations: 97.88 kB / 0.9562 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.8492, allocations: 25.7 kB / 0.9562 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.8492, allocations: 84.14 kB / 0.9563 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.8492, allocations: 18.14 kB / 0.9563 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8493, allocations: 0 / 0.9563 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.8493, allocations: 315.8 kB / 0.9566 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.8493, allocations: 7.219 kB / 0.9566 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.8494, allocations: 23 kB / 0.9567 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.8494, allocations: 9.219 kB / 0.9567 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.8494, allocations: 0 / 0.9567 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.528e-05/0.8495, allocations: 50.17 kB / 0.9567 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8495, allocations: 4.906 kB / 0.9567 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8495, allocations: 4.062 kB / 0.9567 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8496, allocations: 5.422 kB / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.8496, allocations: 9.656 kB / 0.9568 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8496, allocations: 1.344 kB / 0.9568 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.8497, allocations: 1.406 kB / 0.9568 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.8497, allocations: 9.344 kB / 0.9568 GB, free: 4.855 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 5.265e-05/0.8497, allocations: 112.5 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.8497, allocations: 1.438 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.8499, allocations: 62.2 kB / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8499, allocations: 0 / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8499, allocations: 1.156 kB / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8499, allocations: 0 / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.626e-05/0.85, allocations: 158.4 kB / 0.9571 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.85, allocations: 0 / 0.9571 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.85, allocations: 8.562 kB / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.85, allocations: 1.469 kB / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.85, allocations: 0 / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8501, allocations: 1.5 kB / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8501, allocations: 0 / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.8502, allocations: 86.19 kB / 0.9572 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.8502, allocations: 82.14 kB / 0.9573 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.8502, allocations: 1.219 kB / 0.9573 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.8503, allocations: 0 / 0.9573 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.8503, allocations: 2.406 kB / 0.9573 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.8503, allocations: 1.281 kB / 0.9573 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.8503, allocations: 85.55 kB / 0.9573 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8503, allocations: 4.062 kB / 0.9573 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002671/0.8506, allocations: 30.28 kB / 0.9574 GB, free: 4.199 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.0003729/0.851, allocations: 0.6362 MB / 0.958 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.471e-05/0.8511, allocations: 23.05 kB / 0.958 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8511, allocations: 1.062 kB / 0.958 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.8511, allocations: 10.06 kB / 0.958 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.8512, allocations: 1.094 kB / 0.958 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.8517, allocations: 0.5189 MB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.8519, allocations: 0.6829 MB / 0.9592 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.8519, allocations: 4.219 kB / 0.9592 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.8519, allocations: 13.81 kB / 0.9592 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.852, allocations: 0 / 0.9592 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.8647, allocations: 1.877 MB / 0.9611 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.8648, allocations: 218 kB / 0.9613 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.659, allocations: 0 / 0.9613 GB, free: 1.23 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