Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 186.8 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 10.36 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3661, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003981/0.3701, allocations: 2.497 MB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.3726, allocations: 1.298 MB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.3729, allocations: 11.94 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.3734, allocations: 131.5 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3737, allocations: 119.4 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.3744, allocations: 270.1 kB / 1.064 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.3749, allocations: 443.4 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3752, allocations: 194.7 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3754, allocations: 139.2 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3757, allocations: 155.1 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.3757, allocations: 8 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3758, allocations: 47.98 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.3759, allocations: 59.69 kB / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3761, allocations: 172.5 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3765, allocations: 399 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3765, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3765, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3766, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001054/0.3776, allocations: 0.6465 MB / 1.066 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3777, allocations: 8.031 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.612e-05/0.3778, allocations: 48.38 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.3783, allocations: 398.7 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3784, allocations: 20.94 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.3784, allocations: 24.12 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.379, allocations: 275.7 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.379, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.379, allocations: 12 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3791, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.3795, allocations: 190.2 kB / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.3809, allocations: 0.8957 MB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.3816, allocations: 227 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3818, allocations: 92.81 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3819, allocations: 7.938 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.3822, allocations: 136.7 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3822, allocations: 0 / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.000724/0.383, allocations: 302.2 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.383, allocations: 51.41 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.3835, allocations: 417.6 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3835, allocations: 29.7 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.3837, allocations: 220.1 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.3838, allocations: 63.09 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.3838, allocations: 29.7 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.384, allocations: 350.7 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3842, allocations: 68.42 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.3844, allocations: 122.7 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3848, allocations: 191.6 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3848, allocations: 4 kB / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000515/0.3854, allocations: 261.1 kB / 1.07 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3854, allocations: 8.031 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3854, allocations: 0 / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3854, allocations: 4 kB / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.3856, allocations: 47.91 kB / 1.07 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.3857, allocations: 4 kB / 1.07 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3858, allocations: 27.77 kB / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3859, allocations: 12 kB / 1.07 GB, free: 9.641 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.3861, allocations: 167.6 kB / 1.07 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3861, allocations: 35.53 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.3862, allocations: 39.59 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3862, allocations: 4 kB / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3862, allocations: 0 / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3862, allocations: 11.91 kB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3873, allocations: 0.6913 MB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3873, allocations: 3.938 kB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3875, allocations: 27.98 kB / 1.071 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3875, allocations: 0 / 1.071 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3875, allocations: 11.92 kB / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3875, allocations: 4 kB / 1.071 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3875, allocations: 0 / 1.071 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.3883, allocations: 426.9 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.3884, allocations: 132.6 kB / 1.072 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3884, allocations: 3.938 kB / 1.072 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3886, allocations: 11.98 kB / 1.072 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.3887, allocations: 24.03 kB / 1.072 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3887, allocations: 8 kB / 1.072 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000311/0.389, allocations: 291.2 kB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.389, allocations: 0 / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003467/0.3894, allocations: 71.77 kB / 1.072 GB, free: 7.605 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.3904, allocations: 412.9 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3909, allocations: 187.2 kB / 1.073 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3909, allocations: 0 / 1.073 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3911, allocations: 95.83 kB / 1.073 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.3917, allocations: 89.69 kB / 1.073 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.393, allocations: 0.7781 MB / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3934, allocations: 0.8031 MB / 1.074 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.3935, allocations: 27.44 kB / 1.074 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of SimCode: time 1.844e-06/0.3935, allocations: 0 / 1.074 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.007278/0.4008, allocations: 4.636 MB / 1.079 GB, free: 0.7109 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches