Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001156/0.001157, allocations: 183.8 kB / 492.3 MB, free: 0.6094 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.824/1.824, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008836/0.0008835, allocations: 90.77 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.105e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8495/1.097, allocations: 151.2 MB / 1.36 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.098, allocations: 77.06 kB / 1.36 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02334/1.121, allocations: 9.502 MB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.745e-06/1.121, allocations: 0 / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.634e-05/1.121, allocations: 19.06 kB / 1.37 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001222/1.122, allocations: 0.7492 MB / 1.37 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.122, allocations: 11.53 kB / 1.37 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/1.123, allocations: 90.3 kB / 1.37 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.123, allocations: 69.72 kB / 1.37 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/1.123, allocations: 390.4 kB / 1.371 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/1.123, allocations: 40.66 kB / 1.371 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/1.123, allocations: 54.72 kB / 1.371 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/1.124, allocations: 473.2 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.124, allocations: 0 / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/1.124, allocations: 17.56 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.124, allocations: 15.38 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/1.125, allocations: 304.1 kB / 1.372 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/1.127, allocations: 1.6 MB / 1.373 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/1.127, allocations: 0.8278 MB / 1.374 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/1.128, allocations: 210.7 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.128, allocations: 5.859 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/1.128, allocations: 234.4 kB / 1.374 GB, free: 32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/1.128, allocations: 0 / 1.374 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0005436/1.129, allocations: 357.2 kB / 1.375 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.129, allocations: 120.7 kB / 1.375 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/1.129, allocations: 341.7 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/1.129, allocations: 40.39 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/1.129, allocations: 251.6 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/1.129, allocations: 164.4 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/1.129, allocations: 11 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.129, allocations: 356.9 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.13, allocations: 150 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/1.13, allocations: 244.9 kB / 1.376 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/1.13, allocations: 192.1 kB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.13, allocations: 3.844 kB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006703/1.131, allocations: 0.4953 MB / 1.377 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/1.131, allocations: 0.5619 MB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.131, allocations: 0 / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.131, allocations: 3.812 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/1.132, allocations: 102.6 kB / 1.378 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.132, allocations: 3.969 kB / 1.378 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/1.132, allocations: 94.33 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/1.132, allocations: 24.64 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.132, allocations: 4.938 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005848/1.133, allocations: 446.3 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.133, allocations: 3.953 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/1.133, allocations: 4.125 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/1.133, allocations: 89.23 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.133, allocations: 3.844 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/1.133, allocations: 76.45 kB / 1.378 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.133, allocations: 28.19 kB / 1.378 GB, free: 30.17 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * 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.0001431/1.134, allocations: 137.7 kB / 1.379 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/1.134, allocations: 45.84 kB / 1.379 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/1.134, allocations: 398.5 kB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.134, allocations: 7.719 kB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.134, allocations: 0 / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.134, allocations: 3.188 kB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.135, allocations: 1.122 MB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.135, allocations: 4.016 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.136, allocations: 86.97 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.136, allocations: 6.672 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/1.136, allocations: 10.19 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.136, allocations: 3.812 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.136, allocations: 7.875 kB / 1.38 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/1.137, allocations: 0.7472 MB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/1.137, allocations: 130.8 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/1.137, allocations: 13.81 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/1.137, allocations: 27.33 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/1.137, allocations: 44.33 kB / 1.381 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/1.137, allocations: 16.88 kB / 1.381 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002502/1.137, allocations: 276.8 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.137, allocations: 0 / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005882/1.138, allocations: 196.5 kB / 1.382 GB, free: 28.97 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.001081/1.139, allocations: 1.738 MB / 1.383 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008631/1.14, allocations: 0.7296 MB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.14, allocations: 4.469 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/1.14, allocations: 184.2 kB / 1.384 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/1.141, allocations: 84.81 kB / 1.384 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/1.142, allocations: 0.8315 MB / 1.385 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/1.142, allocations: 0.8614 MB / 1.386 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002929/1.143, allocations: 71.17 kB / 1.386 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/1.143, allocations: 182.1 kB / 1.386 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.143, allocations: 4 kB / 1.386 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/1.166, allocations: 10.28 MB / 1.396 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.166, allocations: 170.9 kB / 1.396 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.459, allocations: 0 / 1.396 GB, free: 21.86 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat does not exist to compare? outputFormat=mat