Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.642/2.642, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.001616/0.001615, allocations: 187.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 94.47 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 14.06 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9311/1.139, allocations: 139.7 MB / 1.115 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.139, allocations: 76.95 kB / 1.115 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0437/1.183, allocations: 10.62 MB / 1.125 GB, free: 30.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.183, allocations: 4 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.708e-05/1.183, allocations: 15.66 kB / 1.125 GB, free: 30.48 MB / 0.698 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.002229/1.185, allocations: 0.887 MB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.185, allocations: 15.61 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/1.185, allocations: 90.86 kB / 1.126 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/1.186, allocations: 73.75 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.187, allocations: 473.1 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/1.187, allocations: 39.44 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.187, allocations: 61.59 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/1.188, allocations: 0.4947 MB / 1.127 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.188, allocations: 0 / 1.127 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/1.188, allocations: 22.98 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/1.188, allocations: 11.56 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.19, allocations: 365.5 kB / 1.128 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/1.194, allocations: 1.587 MB / 1.129 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.195, allocations: 0.9112 MB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/1.195, allocations: 3.875 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/1.196, allocations: 263.9 kB / 1.13 GB, free: 27.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.057e-06/1.196, allocations: 0 / 1.13 GB, free: 27.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001739/1.198, allocations: 0.5636 MB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/1.198, allocations: 110.9 kB / 1.131 GB, free: 27.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/1.198, allocations: 352.1 kB / 1.131 GB, free: 27.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.199, allocations: 39.77 kB / 1.131 GB, free: 27.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/1.199, allocations: 262.8 kB / 1.132 GB, free: 27.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.199, allocations: 152.4 kB / 1.132 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.654e-05/1.199, allocations: 10.31 kB / 1.132 GB, free: 27.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.199, allocations: 360.4 kB / 1.132 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/1.2, allocations: 191.5 kB / 1.132 GB, free: 26.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/1.201, allocations: 292.9 kB / 1.133 GB, free: 26.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006998/1.201, allocations: 272 kB / 1.133 GB, free: 26.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.201, allocations: 0 / 1.133 GB, free: 26.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001779/1.203, allocations: 0.633 MB / 1.133 GB, free: 26.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/1.203, allocations: 0.6743 MB / 1.134 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.203, allocations: 7.844 kB / 1.134 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.204, allocations: 3.844 kB / 1.134 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/1.204, allocations: 89.39 kB / 1.134 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.204, allocations: 3.844 kB / 1.134 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/1.205, allocations: 135.1 kB / 1.134 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/1.205, allocations: 30.39 kB / 1.134 GB, free: 25.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.205, allocations: 3.969 kB / 1.134 GB, free: 25.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/1.207, allocations: 0.5227 MB / 1.135 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.207, allocations: 3.969 kB / 1.135 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/1.207, allocations: 7.797 kB / 1.135 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.207, allocations: 72.09 kB / 1.135 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.207, allocations: 3.844 kB / 1.135 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/1.208, allocations: 116.1 kB / 1.135 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/1.208, allocations: 25.27 kB / 1.135 GB, free: 25.54 MB / 0.698 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 () * Number of clocked 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.000464/1.209, allocations: 256.6 kB / 1.135 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/1.209, allocations: 46.53 kB / 1.135 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/1.209, allocations: 58.17 kB / 1.135 GB, free: 25.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.209, allocations: 7.828 kB / 1.135 GB, free: 25.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.209, allocations: 4 kB / 1.135 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.209, allocations: 7.922 kB / 1.135 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/1.211, allocations: 1.088 MB / 1.137 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.211, allocations: 0 / 1.137 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.212, allocations: 77.86 kB / 1.137 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.212, allocations: 3.875 kB / 1.137 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.212, allocations: 7.188 kB / 1.137 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/1.212, allocations: 3.844 kB / 1.137 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.212, allocations: 0 / 1.137 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.214, allocations: 0.718 MB / 1.137 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.214, allocations: 138.9 kB / 1.137 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/1.214, allocations: 10.62 kB / 1.137 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/1.214, allocations: 30.16 kB / 1.137 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/1.214, allocations: 31.34 kB / 1.138 GB, free: 24.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/1.215, allocations: 15.55 kB / 1.138 GB, free: 24.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004248/1.215, allocations: 277 kB / 1.138 GB, free: 24.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.333e-06/1.215, allocations: 0 / 1.138 GB, free: 24.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009431/1.216, allocations: 222.9 kB / 1.138 GB, free: 24.2 MB / 0.698 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 () * Number of clocked 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.002167/1.218, allocations: 1.302 MB / 1.139 GB, free: 23.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.22, allocations: 0.9444 MB / 1.14 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.22, allocations: 0 / 1.14 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/1.221, allocations: 206.6 kB / 1.14 GB, free: 23.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/1.222, allocations: 80.44 kB / 1.14 GB, free: 23.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/1.225, allocations: 2.393 MB / 1.143 GB, free: 21.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/1.226, allocations: 0.8698 MB / 1.144 GB, free: 20.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000518/1.226, allocations: 66.5 kB / 1.144 GB, free: 20.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/1.226, allocations: 194 kB / 1.144 GB, free: 20.26 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.227, allocations: 7.906 kB / 1.144 GB, free: 20.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/1.28, allocations: 10.65 MB / 1.154 GB, free: 15.28 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/1.281, allocations: 203.6 kB / 1.155 GB, free: 15.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/4.192, allocations: 0 / 1.155 GB, free: 15.04 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)