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.289/2.289, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.0009584/0.0009584, allocations: 173 kB / 492.3 MB, free: 0.6211 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.435/1.435, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 96.91 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.088e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2688, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.936/1.205, allocations: 154.3 MB / 1.363 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.205, allocations: 88.64 kB / 1.363 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05323/1.258, allocations: 24.37 MB / 1.387 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.259, allocations: 0 / 1.387 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.332e-05/1.259, allocations: 30.59 kB / 1.387 GB, free: 28.81 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.001882/1.26, allocations: 1.311 MB / 1.388 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.261, allocations: 7.562 kB / 1.388 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/1.261, allocations: 157.5 kB / 1.388 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.262, allocations: 0.7703 MB / 1.389 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/1.262, allocations: 83.61 kB / 1.389 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/1.262, allocations: 120.2 kB / 1.389 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.264, allocations: 1.001 MB / 1.39 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/1.264, allocations: 3.875 kB / 1.39 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/1.264, allocations: 44 kB / 1.39 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.264, allocations: 26.91 kB / 1.39 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.265, allocations: 0.6904 MB / 1.391 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/1.269, allocations: 3.697 MB / 1.395 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.27, allocations: 0.856 MB / 1.396 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/1.271, allocations: 407.3 kB / 1.396 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/1.271, allocations: 12.27 kB / 1.396 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005501/1.271, allocations: 380.8 kB / 1.396 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 3.086e-06/1.271, allocations: 0 / 1.396 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.0009569/1.272, allocations: 0.6668 MB / 1.397 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/1.272, allocations: 218 kB / 1.397 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/1.273, allocations: 0.7731 MB / 1.398 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/1.273, allocations: 47.33 kB / 1.398 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/1.274, allocations: 0.5151 MB / 1.398 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.274, allocations: 302.8 kB / 1.399 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/1.274, allocations: 17.66 kB / 1.399 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.274, allocations: 340.2 kB / 1.399 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/1.274, allocations: 258.5 kB / 1.399 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/1.275, allocations: 437 kB / 1.4 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/1.275, allocations: 321.2 kB / 1.4 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.275, allocations: 7.812 kB / 1.4 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001077/1.276, allocations: 0.8527 MB / 1.401 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.277, allocations: 0.6541 MB / 1.402 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.277, allocations: 3.844 kB / 1.402 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.277, allocations: 11.75 kB / 1.402 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/1.277, allocations: 196.6 kB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.277, allocations: 11.84 kB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/1.278, allocations: 189.4 kB / 1.402 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/1.278, allocations: 37.88 kB / 1.402 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/1.278, allocations: 3.875 kB / 1.402 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009388/1.279, allocations: 0.7178 MB / 1.403 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.279, allocations: 0 / 1.403 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/1.279, allocations: 7.688 kB / 1.403 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/1.28, allocations: 148.5 kB / 1.403 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.28, allocations: 11.86 kB / 1.403 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/1.28, allocations: 147.9 kB / 1.403 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/1.28, allocations: 29.16 kB / 1.403 GB, free: 21.81 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.0001743/1.28, allocations: 157 kB / 1.403 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.28, allocations: 117 kB / 1.403 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/1.281, allocations: 123 kB / 1.403 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.281, allocations: 12 kB / 1.403 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.281, allocations: 0 / 1.403 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.281, allocations: 3.984 kB / 1.403 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.283, allocations: 1.727 MB / 1.405 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.283, allocations: 0 / 1.405 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/1.283, allocations: 171.5 kB / 1.405 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.283, allocations: 4 kB / 1.405 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.283, allocations: 26.55 kB / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.283, allocations: 0 / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.283, allocations: 7.875 kB / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/1.285, allocations: 1.126 MB / 1.406 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/1.285, allocations: 205.4 kB / 1.407 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/1.285, allocations: 17.75 kB / 1.407 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/1.285, allocations: 78 kB / 1.407 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/1.285, allocations: 44.09 kB / 1.407 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/1.286, allocations: 31.23 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007017/1.286, allocations: 0.5951 MB / 1.407 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.286, allocations: 0 / 1.407 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009519/1.287, allocations: 404.2 kB / 1.408 GB, free: 18.12 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.0002674/1.287, allocations: 159.1 kB / 1.408 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.289, allocations: 1.193 MB / 1.409 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.289, allocations: 4 kB / 1.409 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/1.289, allocations: 328.5 kB / 1.409 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/1.29, allocations: 224.2 kB / 1.41 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/1.293, allocations: 1.403 MB / 1.411 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/1.293, allocations: 1.115 MB / 1.412 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007649/1.294, allocations: 184.3 kB / 1.412 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/1.294, allocations: 67.42 kB / 1.412 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of SimCode: time 8.82e-07/1.294, allocations: 3.938 kB / 1.412 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.02601/1.32, allocations: 12.8 MB / 1.425 GB, free: 1.398 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