Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.333/2.333, allocations: 387.4 MB / 394.8 MB, free: 13.36 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.001286/0.001286, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.677/1.677, allocations: 221.5 MB / 0.7824 GB, free: 1.059 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.0009149/0.0009149, allocations: 98.14 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.968e-05/4.98e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2964, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9206/1.217, allocations: 150.6 MB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.217, allocations: 78.73 kB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04057/1.258, allocations: 15.99 MB / 1.369 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.334e-06/1.258, allocations: 2.719 kB / 1.369 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.249e-05/1.258, allocations: 23.06 kB / 1.369 GB, free: 32.82 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001708/1.26, allocations: 1.081 MB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.26, allocations: 11.56 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.26, allocations: 116.3 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/1.261, allocations: 0.563 MB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.261, allocations: 26.78 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/1.261, allocations: 60.66 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008373/1.262, allocations: 499.3 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.263, allocations: 0.6839 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.263, allocations: 0 / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/1.263, allocations: 0 / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.263, allocations: 23.09 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/1.267, allocations: 2.576 MB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/1.268, allocations: 0.5788 MB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/1.268, allocations: 327.7 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/1.268, allocations: 8.625 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/1.268, allocations: 303.5 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/1.269, allocations: 3.938 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.000863/1.269, allocations: 0.5118 MB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/1.269, allocations: 196.2 kB / 1.376 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/1.27, allocations: 455.3 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/1.27, allocations: 25.7 kB / 1.377 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/1.27, allocations: 416.2 kB / 1.377 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/1.271, allocations: 245.7 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/1.271, allocations: 0 / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.271, allocations: 381.1 kB / 1.378 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/1.271, allocations: 217.5 kB / 1.378 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/1.272, allocations: 351.5 kB / 1.378 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/1.272, allocations: 254.7 kB / 1.378 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.272, allocations: 3.938 kB / 1.378 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001012/1.273, allocations: 0.6565 MB / 1.379 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003498/1.274, allocations: 0.5629 MB / 1.38 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.274, allocations: 3.844 kB / 1.38 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.274, allocations: 3.844 kB / 1.38 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/1.274, allocations: 169.1 kB / 1.38 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.274, allocations: 7.859 kB / 1.38 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/1.275, allocations: 140.2 kB / 1.38 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.275, allocations: 26.31 kB / 1.38 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/1.275, allocations: 3.812 kB / 1.38 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008174/1.276, allocations: 0.5366 MB / 1.38 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.276, allocations: 3.906 kB / 1.38 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/1.276, allocations: 3.906 kB / 1.38 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/1.276, allocations: 126.7 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.276, allocations: 7.656 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/1.277, allocations: 101.2 kB / 1.381 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/1.277, allocations: 30.05 kB / 1.381 GB, free: 28.08 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 (87): * Single equations (assignments): 86 * 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.0001872/1.277, allocations: 119.2 kB / 1.381 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006669/1.278, allocations: 0.5021 MB / 1.381 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/1.278, allocations: 70 kB / 1.381 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/1.278, allocations: 0.5332 MB / 1.382 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.279, allocations: 11.83 kB / 1.382 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.279, allocations: 3.953 kB / 1.382 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.279, allocations: 0 / 1.382 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.28, allocations: 1.482 MB / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.28, allocations: 0 / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/1.281, allocations: 147.3 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.281, allocations: 7.688 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/1.281, allocations: 11.05 kB / 1.384 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.281, allocations: 3.875 kB / 1.384 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.281, allocations: 7.75 kB / 1.384 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.282, allocations: 1.039 MB / 1.385 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.282, allocations: 161.7 kB / 1.385 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/1.282, allocations: 3.875 kB / 1.385 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/1.283, allocations: 54.67 kB / 1.385 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/1.283, allocations: 50.14 kB / 1.385 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/1.283, allocations: 26.53 kB / 1.385 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003873/1.283, allocations: 355.4 kB / 1.385 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.283, allocations: 0 / 1.385 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008479/1.284, allocations: 294.6 kB / 1.385 GB, free: 26.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * 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 (75): * Single equations (assignments): 74 * 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.001667/1.286, allocations: 2.241 MB / 1.388 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001269/1.287, allocations: 0.9924 MB / 1.389 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.287, allocations: 0 / 1.389 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/1.287, allocations: 263.2 kB / 1.389 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/1.288, allocations: 142.2 kB / 1.389 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/1.29, allocations: 1.214 MB / 1.39 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/1.291, allocations: 1.004 MB / 1.391 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005049/1.291, allocations: 121.8 kB / 1.391 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/1.292, allocations: 335.3 kB / 1.392 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of SimCode: time 7.72e-07/1.292, allocations: 0 / 1.392 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/1.332, allocations: 14.88 MB / 1.406 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.332, allocations: 148.1 kB / 1.406 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.829, allocations: 0 / 1.406 GB, free: 15.55 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat