Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",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.179/2.179, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009775/0.0009775, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.411/1.411, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0009675/0.0009675, allocations: 98.89 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8157/1.059, allocations: 156.9 MB / 1.359 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.06, allocations: 80.03 kB / 1.359 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04669/1.106, allocations: 19.68 MB / 1.379 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.106, allocations: 0 / 1.379 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.958e-05/1.107, allocations: 26.84 kB / 1.379 GB, free: 30.86 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001551/1.108, allocations: 1.08 MB / 1.38 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.108, allocations: 15.69 kB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/1.108, allocations: 123.3 kB / 1.38 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.11, allocations: 0.7242 MB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/1.11, allocations: 58.3 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/1.11, allocations: 42.25 kB / 1.381 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006826/1.11, allocations: 444.8 kB / 1.381 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/1.111, allocations: 0.6275 MB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.111, allocations: 0 / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/1.111, allocations: 11.83 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.111, allocations: 15.41 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/1.114, allocations: 2.217 MB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/1.115, allocations: 0.5513 MB / 1.384 GB, free: 28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.115, allocations: 208.1 kB / 1.384 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/1.116, allocations: 8.281 kB / 1.385 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/1.116, allocations: 283.2 kB / 1.385 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/1.116, allocations: 0 / 1.385 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0007541/1.117, allocations: 497.7 kB / 1.385 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.117, allocations: 132.9 kB / 1.385 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/1.117, allocations: 0.5575 MB / 1.386 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/1.117, allocations: 25.7 kB / 1.386 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.118, allocations: 444.5 kB / 1.386 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.118, allocations: 195.9 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.118, allocations: 0 / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.118, allocations: 330.1 kB / 1.387 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.118, allocations: 171 kB / 1.387 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.118, allocations: 282.7 kB / 1.387 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/1.119, allocations: 203 kB / 1.387 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.119, allocations: 0 / 1.387 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006923/1.119, allocations: 0.5565 MB / 1.388 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003143/1.12, allocations: 0.8779 MB / 1.389 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.12, allocations: 3.906 kB / 1.389 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.12, allocations: 7.812 kB / 1.389 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.121, allocations: 164.7 kB / 1.389 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.121, allocations: 7.797 kB / 1.389 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.121, allocations: 73.23 kB / 1.389 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.121, allocations: 26.92 kB / 1.389 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.121, allocations: 3.844 kB / 1.389 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006076/1.122, allocations: 445.2 kB / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/1.122, allocations: 0 / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/1.122, allocations: 11.94 kB / 1.39 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.123, allocations: 150.7 kB / 1.39 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/1.123, allocations: 7.781 kB / 1.39 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/1.123, allocations: 50.62 kB / 1.39 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.123, allocations: 27 kB / 1.39 GB, free: 25.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0001381/1.123, allocations: 122 kB / 1.39 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006098/1.124, allocations: 495 kB / 1.39 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.124, allocations: 97.02 kB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/1.124, allocations: 85.28 kB / 1.391 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.124, allocations: 7.812 kB / 1.391 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.124, allocations: 0 / 1.391 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.124, allocations: 3.984 kB / 1.391 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.126, allocations: 1.32 MB / 1.392 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.126, allocations: 0 / 1.392 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/1.126, allocations: 108.2 kB / 1.392 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/1.126, allocations: 0 / 1.392 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.126, allocations: 15.33 kB / 1.392 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.126, allocations: 0 / 1.392 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.126, allocations: 3.938 kB / 1.392 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/1.127, allocations: 0.8673 MB / 1.393 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.127, allocations: 226.3 kB / 1.393 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/1.128, allocations: 0 / 1.393 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/1.128, allocations: 47.02 kB / 1.393 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/1.128, allocations: 33.42 kB / 1.393 GB, free: 24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.128, allocations: 18.08 kB / 1.393 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004183/1.129, allocations: 435.4 kB / 1.394 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.129, allocations: 0 / 1.394 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006836/1.129, allocations: 270.8 kB / 1.394 GB, free: 23.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00124/1.131, allocations: 1.423 MB / 1.395 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009206/1.131, allocations: 0.7422 MB / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.132, allocations: 320 / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/1.132, allocations: 244.1 kB / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/1.133, allocations: 204.1 kB / 1.396 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/1.135, allocations: 1.265 MB / 1.398 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/1.135, allocations: 1.013 MB / 1.399 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006943/1.136, allocations: 161.7 kB / 1.399 GB, free: 21.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/1.136, allocations: 353.2 kB / 1.399 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.136, allocations: 7.938 kB / 1.399 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/1.174, allocations: 16.71 MB / 1.415 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.175, allocations: 139.4 kB / 1.416 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.764, allocations: 0 / 1.416 GB, free: 9.293 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat