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.299/2.299, 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.001214/0.001214, allocations: 168.9 kB / 487.4 MB, free: 5.062 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.495/1.495, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.000872/0.0008722, allocations: 98.78 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.573e-05, allocations: 12 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2734, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.176, allocations: 150.5 MB / 1.353 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.177, allocations: 75.53 kB / 1.353 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02454/1.201, allocations: 9.439 MB / 1.362 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/1.201, allocations: 3.844 kB / 1.362 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.487e-05/1.201, allocations: 7.688 kB / 1.362 GB, free: 33.08 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.001092/1.202, allocations: 0.7477 MB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.202, allocations: 11.69 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/1.203, allocations: 77.12 kB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/1.203, allocations: 389 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.203, allocations: 19.38 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/1.203, allocations: 38.53 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004387/1.204, allocations: 270.3 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/1.204, allocations: 399 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.204, allocations: 0 / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/1.204, allocations: 3.844 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.204, allocations: 15.69 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.206, allocations: 1.488 MB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/1.207, allocations: 0.8042 MB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/1.207, allocations: 202.5 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/1.207, allocations: 3.719 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/1.207, allocations: 212.1 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/1.207, allocations: 0 / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0004907/1.208, allocations: 334.2 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.208, allocations: 114.9 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.208, allocations: 277.3 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/1.208, allocations: 28.94 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.208, allocations: 250.6 kB / 1.368 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/1.208, allocations: 160.2 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.208, allocations: 0 / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.209, allocations: 354 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/1.209, allocations: 140.2 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/1.209, allocations: 217.4 kB / 1.369 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/1.209, allocations: 168.7 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.209, allocations: 4 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006804/1.21, allocations: 451.9 kB / 1.369 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/1.21, allocations: 0.5573 MB / 1.37 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.21, allocations: 0 / 1.37 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.21, allocations: 7.75 kB / 1.37 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/1.211, allocations: 100.1 kB / 1.37 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/1.211, allocations: 3.844 kB / 1.37 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/1.211, allocations: 86 kB / 1.37 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/1.211, allocations: 19 kB / 1.37 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/1.211, allocations: 4.75 kB / 1.37 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005769/1.212, allocations: 376.4 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/1.212, allocations: 0 / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/1.212, allocations: 3.812 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/1.212, allocations: 85.97 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.212, allocations: 15.72 kB / 1.371 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/1.212, allocations: 66.66 kB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/1.213, allocations: 21.3 kB / 1.371 GB, free: 29.25 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.0001155/1.213, allocations: 116.6 kB / 1.371 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004018/1.213, allocations: 333.7 kB / 1.371 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/1.213, allocations: 38.53 kB / 1.371 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/1.214, allocations: 350 kB / 1.371 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.214, allocations: 3.812 kB / 1.371 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.214, allocations: 0 / 1.371 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.214, allocations: 3 kB / 1.371 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.215, allocations: 1.01 MB / 1.372 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.215, allocations: 3.969 kB / 1.372 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.215, allocations: 98.3 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.215, allocations: 3.969 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/1.215, allocations: 10.09 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.215, allocations: 3.938 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.215, allocations: 3.938 kB / 1.372 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/1.216, allocations: 0.707 MB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/1.216, allocations: 124 kB / 1.373 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/1.216, allocations: 3.844 kB / 1.373 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/1.216, allocations: 20.84 kB / 1.373 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/1.216, allocations: 34.69 kB / 1.373 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/1.216, allocations: 14.84 kB / 1.373 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000189/1.217, allocations: 218.4 kB / 1.374 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.217, allocations: 0 / 1.374 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005268/1.217, allocations: 184.2 kB / 1.374 GB, free: 28.04 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.001168/1.218, allocations: 1.689 MB / 1.375 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008539/1.219, allocations: 0.6787 MB / 1.376 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.219, allocations: 4.5 kB / 1.376 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.219, allocations: 168.1 kB / 1.376 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/1.22, allocations: 71.33 kB / 1.376 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.221, allocations: 0.7827 MB / 1.377 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/1.221, allocations: 0.8639 MB / 1.378 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002555/1.222, allocations: 74.05 kB / 1.378 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.222, allocations: 182.1 kB / 1.378 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.222, allocations: 0 / 1.378 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/1.252, allocations: 8.994 MB / 1.387 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.252, allocations: 159.3 kB / 1.387 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.466, allocations: 0 / 1.387 GB, free: 22.75 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