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.419/2.419, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001501/0.001501, allocations: 188.8 kB / 360.6 MB, free: 7.281 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.11/2.11, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001141/0.00114, allocations: 89.06 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.266e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.833, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/1.082, allocations: 138.9 MB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.083, allocations: 71.97 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05746/1.14, allocations: 10.54 MB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.14, allocations: 0 / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.268e-05/1.14, allocations: 15.98 kB / 1.11 GB, free: 6.949 MB / 0.7136 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.002039/1.142, allocations: 0.8079 MB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.142, allocations: 8.031 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/1.143, allocations: 75.14 kB / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.144, allocations: 468.6 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/1.144, allocations: 12 kB / 1.111 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.144, allocations: 47.98 kB / 1.111 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008548/1.145, allocations: 266.6 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/1.146, allocations: 402.9 kB / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.146, allocations: 0 / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/1.146, allocations: 0 / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.146, allocations: 15.94 kB / 1.112 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/1.15, allocations: 1.488 MB / 1.113 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.151, allocations: 0.8075 MB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/1.152, allocations: 174.6 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/1.152, allocations: 15.73 kB / 1.114 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/1.152, allocations: 220 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/1.152, allocations: 0 / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.001055/1.153, allocations: 335.6 kB / 1.114 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/1.154, allocations: 115.2 kB / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.154, allocations: 294.3 kB / 1.115 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/1.154, allocations: 29.7 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/1.155, allocations: 272.8 kB / 1.115 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/1.155, allocations: 145.8 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/1.155, allocations: 0 / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.155, allocations: 358.8 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/1.156, allocations: 149.1 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/1.156, allocations: 247.5 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/1.157, allocations: 188.7 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.157, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001762/1.159, allocations: 0.4893 MB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004108/1.159, allocations: 0.6858 MB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.159, allocations: 4 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/1.159, allocations: 4 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/1.16, allocations: 91.83 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.16, allocations: 4 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.161, allocations: 115.6 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.161, allocations: 27.98 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.161, allocations: 4 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001609/1.163, allocations: 422.2 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.163, allocations: 10.75 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.163, allocations: 4 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/1.164, allocations: 77.34 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.164, allocations: 8.109 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/1.165, allocations: 103.7 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/1.165, allocations: 23.98 kB / 1.118 GB, free: 13.59 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.0002473/1.165, allocations: 122.8 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008455/1.166, allocations: 331.6 kB / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/1.166, allocations: 47.42 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/1.166, allocations: 52.64 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.166, allocations: 4 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.166, allocations: 4 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.166, allocations: 0 / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.168, allocations: 0.9164 MB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.168, allocations: 6.391 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/1.169, allocations: 83.89 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.169, allocations: 4 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.169, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.169, allocations: 4 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.169, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/1.171, allocations: 0.5997 MB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/1.171, allocations: 124.5 kB / 1.12 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/1.171, allocations: 7.984 kB / 1.12 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/1.171, allocations: 19.98 kB / 1.12 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/1.171, allocations: 32.39 kB / 1.12 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/1.171, allocations: 12 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003888/1.172, allocations: 228.6 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/1.172, allocations: 0 / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009879/1.173, allocations: 203.1 kB / 1.121 GB, free: 10.72 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.001783/1.175, allocations: 1.165 MB / 1.122 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.177, allocations: 0.8561 MB / 1.123 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.177, allocations: 4.562 kB / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/1.177, allocations: 165.6 kB / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/1.178, allocations: 74.59 kB / 1.123 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/1.18, allocations: 0.7605 MB / 1.124 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/1.181, allocations: 0.8758 MB / 1.125 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005531/1.181, allocations: 78 kB / 1.125 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.182, allocations: 187.4 kB / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of SimCode: time 9.61e-07/1.182, allocations: 0 / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.245, allocations: 10.23 MB / 1.135 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004149/1.246, allocations: 163 kB / 1.135 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.057, allocations: 1.25 kB / 1.135 GB, free: 12.21 MB / 0.7448 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)