Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001505/0.001505, allocations: 178.7 kB / 370.8 MB, free: 10.84 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.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001764/0.001764, allocations: 93.48 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 14.19 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9689/1.177, allocations: 139.3 MB / 1.114 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.177, allocations: 77.5 kB / 1.114 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05749/1.234, allocations: 13.78 MB / 1.128 GB, free: 30.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.234, allocations: 3.938 kB / 1.128 GB, free: 30.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.724e-05/1.235, allocations: 23.38 kB / 1.128 GB, free: 30.09 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002845/1.237, allocations: 1.18 MB / 1.129 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.237, allocations: 11.7 kB / 1.129 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/1.238, allocations: 139.4 kB / 1.129 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/1.238, allocations: 120.6 kB / 1.129 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.239, allocations: 0.5866 MB / 1.13 GB, free: 28.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/1.239, allocations: 69.56 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.239, allocations: 91.72 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/1.241, allocations: 0.8588 MB / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.242, allocations: 0 / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.242, allocations: 40.7 kB / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.242, allocations: 23.16 kB / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.244, allocations: 0.6315 MB / 1.132 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/1.248, allocations: 2.516 MB / 1.134 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/1.251, allocations: 1.333 MB / 1.135 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/1.251, allocations: 8.188 kB / 1.135 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/1.252, allocations: 359.5 kB / 1.136 GB, free: 26.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.357e-06/1.252, allocations: 3.938 kB / 1.136 GB, free: 26.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.00261/1.254, allocations: 0.8268 MB / 1.137 GB, free: 25.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.255, allocations: 166.1 kB / 1.137 GB, free: 25.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/1.255, allocations: 0.5211 MB / 1.137 GB, free: 25.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/1.256, allocations: 40.7 kB / 1.137 GB, free: 25.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/1.256, allocations: 409.3 kB / 1.138 GB, free: 25.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/1.256, allocations: 235.5 kB / 1.138 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/1.256, allocations: 14.75 kB / 1.138 GB, free: 25.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.256, allocations: 337.1 kB / 1.138 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/1.257, allocations: 226.9 kB / 1.138 GB, free: 24.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.258, allocations: 336.2 kB / 1.139 GB, free: 24.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/1.259, allocations: 257.9 kB / 1.139 GB, free: 24.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.259, allocations: 0 / 1.139 GB, free: 24.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001954/1.261, allocations: 0.6662 MB / 1.14 GB, free: 24.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.261, allocations: 187.2 kB / 1.14 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/1.261, allocations: 0 / 1.14 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.261, allocations: 3.812 kB / 1.14 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.262, allocations: 147.2 kB / 1.14 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.262, allocations: 7.766 kB / 1.14 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/1.263, allocations: 108.3 kB / 1.14 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/1.263, allocations: 23.27 kB / 1.14 GB, free: 24.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.263, allocations: 3.844 kB / 1.14 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009616/1.264, allocations: 461.1 kB / 1.141 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.264, allocations: 4 kB / 1.141 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/1.264, allocations: 3.906 kB / 1.141 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/1.264, allocations: 118.4 kB / 1.141 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.264, allocations: 3.875 kB / 1.141 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/1.265, allocations: 80.88 kB / 1.141 GB, free: 24.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.265, allocations: 15.31 kB / 1.141 GB, free: 24.08 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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.0005563/1.266, allocations: 298 kB / 1.141 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.266, allocations: 73.91 kB / 1.141 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/1.266, allocations: 87.52 kB / 1.141 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/1.266, allocations: 11.48 kB / 1.141 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.266, allocations: 0 / 1.141 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.266, allocations: 0 / 1.141 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/1.269, allocations: 1.611 MB / 1.143 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.269, allocations: 3.938 kB / 1.143 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.271, allocations: 134.1 kB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.271, allocations: 3.875 kB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/1.271, allocations: 12.97 kB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.271, allocations: 7.875 kB / 1.143 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.271, allocations: 0 / 1.143 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/1.273, allocations: 1.041 MB / 1.144 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/1.274, allocations: 154.3 kB / 1.144 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.274, allocations: 13.06 kB / 1.144 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/1.274, allocations: 60.61 kB / 1.144 GB, free: 22.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/1.274, allocations: 35.39 kB / 1.144 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/1.275, allocations: 18.95 kB / 1.144 GB, free: 22.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007108/1.275, allocations: 425.4 kB / 1.145 GB, free: 22.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.275, allocations: 0 / 1.145 GB, free: 22.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009265/1.276, allocations: 291.9 kB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003119/1.279, allocations: 1.618 MB / 1.146 GB, free: 21.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002221/1.282, allocations: 0.8159 MB / 1.147 GB, free: 21.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.282, allocations: 3.844 kB / 1.147 GB, free: 21.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008161/1.282, allocations: 305.3 kB / 1.148 GB, free: 21.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.284, allocations: 130.6 kB / 1.148 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/1.293, allocations: 4.726 MB / 1.152 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/1.293, allocations: 1.002 MB / 1.153 GB, free: 18.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006239/1.294, allocations: 90.25 kB / 1.153 GB, free: 18.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/1.295, allocations: 345.9 kB / 1.154 GB, free: 18.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/1.295, allocations: 0 / 1.154 GB, free: 18.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/1.354, allocations: 13.55 MB / 1.167 GB, free: 7.414 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/1.354, allocations: 196.2 kB / 1.167 GB, free: 7.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/4.3, allocations: 0.5 kB / 1.167 GB, free: 7.172 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)