Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.604/2.604, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.001724/0.001724, allocations: 176.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001014/0.001014, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.006e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.25, allocations: 153.9 MB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.25, allocations: 86.94 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01988/1.27, allocations: 8.421 MB / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.27, allocations: 0 / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.173e-05/1.27, allocations: 27.36 kB / 1.377 GB, free: 8.871 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009162/1.271, allocations: 0.6195 MB / 1.378 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.271, allocations: 8.031 kB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/1.271, allocations: 51.44 kB / 1.378 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/1.272, allocations: 380.9 kB / 1.378 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.272, allocations: 26.78 kB / 1.378 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/1.272, allocations: 37.56 kB / 1.379 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/1.273, allocations: 376.7 kB / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.273, allocations: 0 / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/1.273, allocations: 17.94 kB / 1.379 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.273, allocations: 8 kB / 1.379 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/1.273, allocations: 229.8 kB / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/1.275, allocations: 1.443 MB / 1.381 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/1.276, allocations: 270.4 kB / 1.381 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/1.276, allocations: 125.8 kB / 1.381 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/1.276, allocations: 4 kB / 1.381 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/1.276, allocations: 156.6 kB / 1.381 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/1.276, allocations: 0 / 1.381 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003962/1.276, allocations: 229.8 kB / 1.381 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/1.277, allocations: 132.5 kB / 1.381 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/1.277, allocations: 355.2 kB / 1.382 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/1.277, allocations: 32.89 kB / 1.382 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.277, allocations: 231.1 kB / 1.382 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/1.277, allocations: 88.86 kB / 1.382 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/1.277, allocations: 10.56 kB / 1.382 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.277, allocations: 351.7 kB / 1.382 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/1.277, allocations: 79.75 kB / 1.383 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/1.278, allocations: 161.7 kB / 1.383 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/1.278, allocations: 97.56 kB / 1.383 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.278, allocations: 0 / 1.383 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004175/1.278, allocations: 301 kB / 1.383 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.278, allocations: 452.1 kB / 1.383 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.278, allocations: 0 / 1.383 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.278, allocations: 8 kB / 1.383 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/1.279, allocations: 67.89 kB / 1.384 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.279, allocations: 8 kB / 1.384 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.279, allocations: 51.3 kB / 1.384 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.279, allocations: 19.94 kB / 1.384 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.279, allocations: 5.562 kB / 1.384 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003226/1.279, allocations: 220.7 kB / 1.384 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/1.279, allocations: 0 / 1.384 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/1.279, allocations: 7.953 kB / 1.384 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.28, allocations: 50.8 kB / 1.384 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/1.28, allocations: 4 kB / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/1.28, allocations: 42.7 kB / 1.384 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/1.28, allocations: 12 kB / 1.384 GB, free: 3.098 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.611e-05/1.28, allocations: 119.7 kB / 1.384 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/1.28, allocations: 39.53 kB / 1.384 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.81e-05/1.28, allocations: 46.89 kB / 1.384 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.28, allocations: 3.953 kB / 1.384 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.28, allocations: 4 kB / 1.384 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.28, allocations: 0 / 1.384 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.281, allocations: 0.9327 MB / 1.385 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.281, allocations: 288 / 1.385 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/1.282, allocations: 63.84 kB / 1.385 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.282, allocations: 4 kB / 1.385 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/1.282, allocations: 11.12 kB / 1.385 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.282, allocations: 7.922 kB / 1.385 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.282, allocations: 4 kB / 1.385 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/1.282, allocations: 0.6723 MB / 1.386 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/1.282, allocations: 127.9 kB / 1.386 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/1.282, allocations: 10.5 kB / 1.386 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.283, allocations: 23.86 kB / 1.386 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/1.283, allocations: 23.91 kB / 1.386 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/1.283, allocations: 15.5 kB / 1.386 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002715/1.283, allocations: 280 kB / 1.386 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.283, allocations: 0 / 1.386 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004787/1.283, allocations: 129.5 kB / 1.386 GB, free: 0.8125 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.000155/1.284, allocations: 127 kB / 1.387 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005265/1.284, allocations: 337 kB / 1.387 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.284, allocations: 8.062 kB / 1.387 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/1.284, allocations: 103.7 kB / 1.387 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/1.285, allocations: 75.95 kB / 1.387 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.286, allocations: 0.5825 MB / 1.388 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.286, allocations: 0.8199 MB / 1.388 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000272/1.287, allocations: 71.34 kB / 1.388 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/1.287, allocations: 27.44 kB / 1.388 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of SimCode: time 3.71e-07/1.287, allocations: 0 / 1.388 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008182/1.295, allocations: 4.031 MB / 1.392 GB, free: 10.84 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches