Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001075/0.001075, allocations: 183.9 kB / 0.4902 GB, free: 2.285 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.472/1.472, allocations: 223.2 MB / 0.7992 GB, free: 15.69 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.001009/0.001009, allocations: 95 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 13.38 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3557, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.5611, allocations: 154 MB / 1.38 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.5615, allocations: 91.92 kB / 1.38 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02047/0.582, allocations: 8.14 MB / 1.388 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/0.582, allocations: 0 / 1.388 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.5821, allocations: 12 kB / 1.388 GB, free: 3.043 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001235/0.5833, allocations: 0.6896 MB / 1.388 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.5834, allocations: 12.56 kB / 1.388 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.5835, allocations: 55.34 kB / 1.388 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.5841, allocations: 371.6 kB / 1.389 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5842, allocations: 29 kB / 1.389 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.5843, allocations: 40 kB / 1.389 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.585, allocations: 415 kB / 1.389 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5851, allocations: 0 / 1.389 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.5851, allocations: 19.98 kB / 1.389 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5851, allocations: 12 kB / 1.389 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.5858, allocations: 299.9 kB / 1.39 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.5877, allocations: 1.328 MB / 1.391 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.5887, allocations: 363.4 kB / 1.391 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.5887, allocations: 0 / 1.391 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.5891, allocations: 194.9 kB / 1.391 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.5891, allocations: 0 / 1.391 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28): time 0.0008138/0.59, allocations: 390.5 kB / 1.392 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.5901, allocations: 132.5 kB / 1.392 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.5905, allocations: 360.8 kB / 1.392 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5905, allocations: 29.7 kB / 1.392 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5908, allocations: 236.1 kB / 1.392 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-05/0.5909, allocations: 94.64 kB / 1.393 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.5909, allocations: 11.94 kB / 1.393 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5911, allocations: 350.8 kB / 1.393 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.5913, allocations: 104 kB / 1.393 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.5916, allocations: 200 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.5919, allocations: 123.1 kB / 1.393 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5919, allocations: 0 / 1.393 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006134/0.5925, allocations: 358.2 kB / 1.394 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.5928, allocations: 0.5371 MB / 1.394 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5928, allocations: 4 kB / 1.394 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5929, allocations: 4 kB / 1.394 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.5932, allocations: 67.91 kB / 1.394 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5932, allocations: 4 kB / 1.394 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5934, allocations: 55.66 kB / 1.394 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.5934, allocations: 12 kB / 1.394 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5935, allocations: 4 kB / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003592/0.5938, allocations: 233 kB / 1.395 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5938, allocations: 11.98 kB / 1.395 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.5938, allocations: 3.938 kB / 1.395 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5941, allocations: 51.92 kB / 1.395 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5941, allocations: 12.11 kB / 1.395 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.5942, allocations: 39.72 kB / 1.395 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.5943, allocations: 15.98 kB / 1.395 GB, free: 11.54 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0002052/0.5945, allocations: 241 kB / 1.395 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.5945, allocations: 43.44 kB / 1.395 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.5947, allocations: 47.62 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-06/0.5947, allocations: 4 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.5947, allocations: 4 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5947, allocations: 0 / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5961, allocations: 0.9856 MB / 1.396 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5961, allocations: 12.02 kB / 1.396 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.5964, allocations: 59.91 kB / 1.396 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5964, allocations: 4 kB / 1.396 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.5964, allocations: 8 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5965, allocations: 7.938 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5965, allocations: 7.953 kB / 1.396 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5975, allocations: 0.7667 MB / 1.397 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5976, allocations: 124.6 kB / 1.397 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.5977, allocations: 8 kB / 1.397 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5979, allocations: 27.98 kB / 1.397 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.598, allocations: 31.86 kB / 1.397 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.598, allocations: 8 kB / 1.397 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003091/0.5983, allocations: 291.1 kB / 1.397 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5983, allocations: 0 / 1.397 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005239/0.5989, allocations: 131.5 kB / 1.397 GB, free: 8.531 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0002043/0.5991, allocations: 124 kB / 1.397 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007264/0.5998, allocations: 398.4 kB / 1.398 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5998, allocations: 4.125 kB / 1.398 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.6001, allocations: 135.8 kB / 1.398 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.6006, allocations: 82.03 kB / 1.398 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.602, allocations: 0.892 MB / 1.399 GB, free: 6.848 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.6025, allocations: 0.8275 MB / 1.4 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.6027, allocations: 39.27 kB / 1.4 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.6028, allocations: 35.42 kB / 1.4 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of SimCode: time 2.51e-07/0.6028, allocations: 0 / 1.4 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of Templates: time 0.007436/0.6102, allocations: 3.506 MB / 1.403 GB, free: 2.449 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches