Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 188.6 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 87.8 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.616e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2275, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/0.9614, allocations: 153.6 MB / 1.356 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.9617, allocations: 95.77 kB / 1.356 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05157/1.013, allocations: 24.21 MB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.923e-06/1.013, allocations: 0 / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001032/1.013, allocations: 34.69 kB / 1.38 GB, free: 29.35 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002287/1.016, allocations: 1.306 MB / 1.381 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.016, allocations: 7.875 kB / 1.381 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004111/1.016, allocations: 155.4 kB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.018, allocations: 0.7699 MB / 1.382 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/1.018, allocations: 34.97 kB / 1.382 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.018, allocations: 65.47 kB / 1.382 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/1.019, allocations: 0.6302 MB / 1.383 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.02, allocations: 0.8498 MB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.02, allocations: 3.844 kB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/1.02, allocations: 0 / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.02, allocations: 31 kB / 1.384 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/1.024, allocations: 3.46 MB / 1.387 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.025, allocations: 0.7941 MB / 1.388 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/1.026, allocations: 386.3 kB / 1.388 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/1.026, allocations: 12.44 kB / 1.388 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/1.026, allocations: 359.2 kB / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 2.464e-06/1.026, allocations: 0 / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.0008069/1.027, allocations: 0.6038 MB / 1.389 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.027, allocations: 221.9 kB / 1.389 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/1.028, allocations: 0.5773 MB / 1.39 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.028, allocations: 32.42 kB / 1.39 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.028, allocations: 0.5279 MB / 1.39 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.028, allocations: 300.5 kB / 1.391 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/1.028, allocations: 3.812 kB / 1.391 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.029, allocations: 336.6 kB / 1.391 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/1.029, allocations: 238.9 kB / 1.391 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/1.029, allocations: 410.3 kB / 1.392 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/1.03, allocations: 299.4 kB / 1.392 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.03, allocations: 3.844 kB / 1.392 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001012/1.031, allocations: 0.7684 MB / 1.393 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/1.031, allocations: 0.657 MB / 1.393 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.031, allocations: 0 / 1.393 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.031, allocations: 3.844 kB / 1.393 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/1.032, allocations: 203 kB / 1.393 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.032, allocations: 3.844 kB / 1.393 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/1.032, allocations: 147.3 kB / 1.394 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/1.032, allocations: 35.3 kB / 1.394 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/1.032, allocations: 7.906 kB / 1.394 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000837/1.033, allocations: 0.6103 MB / 1.394 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.033, allocations: 3.906 kB / 1.394 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/1.033, allocations: 7.859 kB / 1.394 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.034, allocations: 157.8 kB / 1.394 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.034, allocations: 7.828 kB / 1.394 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/1.034, allocations: 112.9 kB / 1.394 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.034, allocations: 33.44 kB / 1.395 GB, free: 22.58 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0001558/1.034, allocations: 127.1 kB / 1.395 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/1.034, allocations: 100.5 kB / 1.395 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/1.035, allocations: 90.89 kB / 1.395 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.035, allocations: 7.688 kB / 1.395 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.035, allocations: 7.938 kB / 1.395 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.035, allocations: 7.969 kB / 1.395 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.036, allocations: 1.516 MB / 1.396 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.036, allocations: 4 kB / 1.396 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/1.037, allocations: 176.6 kB / 1.396 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.037, allocations: 0 / 1.396 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.037, allocations: 7.406 kB / 1.396 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.037, allocations: 11.78 kB / 1.396 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.037, allocations: 4 kB / 1.397 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.038, allocations: 1.041 MB / 1.398 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/1.038, allocations: 182 kB / 1.398 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/1.038, allocations: 11.59 kB / 1.398 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/1.039, allocations: 58.27 kB / 1.398 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/1.039, allocations: 51.66 kB / 1.398 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/1.039, allocations: 26.14 kB / 1.398 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003971/1.039, allocations: 444.9 kB / 1.398 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.039, allocations: 0 / 1.398 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006998/1.04, allocations: 374.7 kB / 1.399 GB, free: 21.05 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001732/1.04, allocations: 126.8 kB / 1.399 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001143/1.041, allocations: 1.131 MB / 1.4 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.041, allocations: 0 / 1.4 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/1.041, allocations: 309.2 kB / 1.4 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/1.042, allocations: 195.5 kB / 1.4 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/1.044, allocations: 1.353 MB / 1.402 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.044, allocations: 1.115 MB / 1.403 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005547/1.045, allocations: 158.7 kB / 1.403 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/1.045, allocations: 64.92 kB / 1.403 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.045, allocations: 0 / 1.403 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.0156/1.061, allocations: 11.08 MB / 1.414 GB, free: 11.7 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches