Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 285.4 MB / 298 MB, free: 5.973 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.001189/0.001189, allocations: 180.9 kB / 366.4 MB, free: 2.059 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.625/1.625, allocations: 205.1 MB / 0.6248 GB, free: 7.676 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.0008708/0.0008711, allocations: 91.3 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.39e-05/5.396e-05, allocations: 8 kB / 0.8584 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9933/0.9934, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/1.235, allocations: 139.8 MB / 1.108 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.235, allocations: 79.95 kB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02953/1.265, allocations: 10.61 MB / 1.118 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.265, allocations: 0 / 1.118 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.265e-05/1.265, allocations: 16 kB / 1.118 GB, free: 1.32 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.001198/1.266, allocations: 0.8105 MB / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.266, allocations: 12.03 kB / 1.119 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.802e-05/1.266, allocations: 86.52 kB / 1.119 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/1.266, allocations: 71.16 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/1.267, allocations: 468.2 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/1.267, allocations: 42.81 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/1.267, allocations: 56 kB / 1.119 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/1.268, allocations: 467 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.268, allocations: 3.984 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/1.268, allocations: 20 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.268, allocations: 15.94 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/1.269, allocations: 308 kB / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/1.271, allocations: 1.59 MB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/1.272, allocations: 0.8132 MB / 1.123 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/1.272, allocations: 194 kB / 1.123 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/1.272, allocations: 7.984 kB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/1.273, allocations: 232.9 kB / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/1.273, allocations: 3.281 kB / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.0006876/1.274, allocations: 371.5 kB / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/1.274, allocations: 115.2 kB / 1.123 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/1.274, allocations: 347.2 kB / 1.124 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/1.274, allocations: 37.7 kB / 1.124 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/1.274, allocations: 257.1 kB / 1.124 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/1.274, allocations: 165.7 kB / 1.124 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/1.275, allocations: 12 kB / 1.124 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.275, allocations: 358.8 kB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.275, allocations: 157.1 kB / 1.125 GB, free: 10 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/1.275, allocations: 263.5 kB / 1.125 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/1.276, allocations: 245 kB / 1.125 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.276, allocations: 0 / 1.125 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009232/1.277, allocations: 0.5709 MB / 1.126 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003162/1.277, allocations: 0.676 MB / 1.126 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.277, allocations: 7.984 kB / 1.126 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.277, allocations: 4 kB / 1.126 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/1.278, allocations: 91.83 kB / 1.127 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.278, allocations: 4 kB / 1.127 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/1.278, allocations: 123.6 kB / 1.127 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/1.278, allocations: 27.98 kB / 1.127 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/1.278, allocations: 4 kB / 1.127 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008627/1.279, allocations: 0.5171 MB / 1.127 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.279, allocations: 4 kB / 1.127 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/1.279, allocations: 4 kB / 1.127 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/1.279, allocations: 73.05 kB / 1.127 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/1.279, allocations: 4.156 kB / 1.127 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/1.28, allocations: 123.5 kB / 1.127 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/1.28, allocations: 23.98 kB / 1.127 GB, free: 7.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.0001733/1.28, allocations: 138.6 kB / 1.128 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/1.28, allocations: 47.42 kB / 1.128 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/1.28, allocations: 52.97 kB / 1.128 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.28, allocations: 4 kB / 1.128 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.28, allocations: 7.953 kB / 1.128 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.28, allocations: 7.984 kB / 1.128 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.282, allocations: 1.027 MB / 1.129 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.282, allocations: 3.75 kB / 1.129 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/1.282, allocations: 83.84 kB / 1.129 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.282, allocations: 4 kB / 1.129 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/1.282, allocations: 8 kB / 1.129 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.282, allocations: 0 / 1.129 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.282, allocations: 4 kB / 1.129 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/1.283, allocations: 0.6387 MB / 1.129 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/1.283, allocations: 124.5 kB / 1.13 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/1.283, allocations: 11.95 kB / 1.13 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/1.284, allocations: 31.98 kB / 1.13 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/1.284, allocations: 28.39 kB / 1.13 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.284, allocations: 16 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003028/1.284, allocations: 269.2 kB / 1.13 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.284, allocations: 0 / 1.13 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006681/1.285, allocations: 231.2 kB / 1.13 GB, free: 4.305 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.001423/1.286, allocations: 1.207 MB / 1.131 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.288, allocations: 0.8981 MB / 1.132 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.288, allocations: 4.562 kB / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/1.288, allocations: 178 kB / 1.132 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/1.289, allocations: 89.45 kB / 1.132 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.29, allocations: 0.8057 MB / 1.133 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.291, allocations: 0.8718 MB / 1.134 GB, free: 128 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003592/1.291, allocations: 79.69 kB / 1.134 GB, free: 48 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.291, allocations: 191.4 kB / 1.134 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/1.291, allocations: 0 / 1.134 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.319, allocations: 11.45 MB / 1.145 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.319, allocations: 183.7 kB / 1.146 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.759, allocations: 4.062 kB / 1.146 GB, free: 4.551 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)