Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 180.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.000862, allocations: 94.2 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.212e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.6998, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.9005, allocations: 140.1 MB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.9007, allocations: 75.95 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.9314, allocations: 10.54 MB / 1.121 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9314, allocations: 0 / 1.121 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.326e-05/0.9315, allocations: 12 kB / 1.121 GB, free: 15.47 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00143/0.9329, allocations: 0.8067 MB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.933, allocations: 8.031 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.9332, allocations: 76.97 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.9343, allocations: 464.7 kB / 1.122 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.9343, allocations: 20 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.9344, allocations: 36 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005495/0.935, allocations: 278.5 kB / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.9357, allocations: 393.2 kB / 1.123 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.9358, allocations: 0 / 1.123 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.9358, allocations: 3.938 kB / 1.123 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.9358, allocations: 12 kB / 1.123 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.9382, allocations: 1.496 MB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.9389, allocations: 0.8091 MB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.9392, allocations: 168.8 kB / 1.125 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.9392, allocations: 4 kB / 1.125 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.9396, allocations: 218.1 kB / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.9396, allocations: 0 / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.0006239/0.9403, allocations: 343.5 kB / 1.126 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.9403, allocations: 111.2 kB / 1.126 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.9407, allocations: 294.3 kB / 1.126 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.9408, allocations: 29.7 kB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.941, allocations: 272.8 kB / 1.126 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.9411, allocations: 145.8 kB / 1.126 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.9411, allocations: 4 kB / 1.126 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9413, allocations: 354.8 kB / 1.127 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.9416, allocations: 153.1 kB / 1.127 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.9419, allocations: 238.4 kB / 1.127 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.9425, allocations: 194.1 kB / 1.127 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9425, allocations: 5.969 kB / 1.127 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001007/0.9436, allocations: 495.3 kB / 1.128 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003357/0.9439, allocations: 0.6838 MB / 1.128 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9439, allocations: 4 kB / 1.128 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.944, allocations: 4 kB / 1.128 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.9444, allocations: 91.83 kB / 1.128 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.9444, allocations: 4 kB / 1.128 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.9449, allocations: 119.6 kB / 1.129 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.945, allocations: 23.98 kB / 1.129 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.945, allocations: 4 kB / 1.129 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008877/0.9459, allocations: 436.5 kB / 1.129 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.9459, allocations: 0 / 1.129 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.9459, allocations: 4 kB / 1.129 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.9462, allocations: 75.91 kB / 1.129 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.9463, allocations: 14.58 kB / 1.129 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.9468, allocations: 99.64 kB / 1.129 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.9468, allocations: 23.98 kB / 1.129 GB, free: 6.117 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.000145/0.947, allocations: 118.9 kB / 1.129 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005074/0.9475, allocations: 331.6 kB / 1.13 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.9476, allocations: 51.38 kB / 1.13 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.9477, allocations: 44.83 kB / 1.13 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9477, allocations: 17.72 kB / 1.13 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9477, allocations: 0 / 1.13 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.9477, allocations: 3.984 kB / 1.13 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.9491, allocations: 0.9164 MB / 1.131 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9491, allocations: 0 / 1.131 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.9495, allocations: 82.77 kB / 1.131 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.9495, allocations: 7.953 kB / 1.131 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.9495, allocations: 4 kB / 1.131 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.9496, allocations: 4 kB / 1.131 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.9496, allocations: 0 / 1.131 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.9504, allocations: 0.5958 MB / 1.131 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.9505, allocations: 120.5 kB / 1.131 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.9506, allocations: 7.953 kB / 1.131 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.9508, allocations: 24.05 kB / 1.132 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.9509, allocations: 32.33 kB / 1.132 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.9509, allocations: 12 kB / 1.132 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002485/0.9511, allocations: 228.6 kB / 1.132 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9511, allocations: 0 / 1.132 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006666/0.9518, allocations: 203.1 kB / 1.132 GB, free: 3.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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/0.953, allocations: 1.162 MB / 1.133 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.9542, allocations: 0.8561 MB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.9543, allocations: 0.625 kB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.9545, allocations: 169.5 kB / 1.134 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.955, allocations: 76.14 kB / 1.134 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.9566, allocations: 0.7664 MB / 1.135 GB, free: 116 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.9571, allocations: 0.8752 MB / 1.136 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003253/0.9574, allocations: 73.5 kB / 1.136 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.9576, allocations: 195.4 kB / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.9577, allocations: 0 / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.991, allocations: 10.23 MB / 1.146 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.9913, allocations: 163.7 kB / 1.146 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.267, allocations: 0.875 kB / 1.146 GB, free: 4.738 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)