Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004543/0.004543, allocations: 99.44 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.029/2.029, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.05 kB / 0.9508 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.835, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003209/0.8383, allocations: 2.2 MB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1885/1.027, allocations: 150.6 MB / 1.237 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/1.027, allocations: 2.969 kB / 1.237 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/1.028, allocations: 0.7854 MB / 1.238 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007353/1.029, allocations: 494.5 kB / 1.238 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/1.03, allocations: 406.9 kB / 1.239 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/1.031, allocations: 0.5556 MB / 1.239 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/1.031, allocations: 85.38 kB / 1.239 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/1.032, allocations: 367.2 kB / 1.24 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/1.032, allocations: 484.7 kB / 1.24 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/1.033, allocations: 23.16 kB / 1.24 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/1.033, allocations: 295.6 kB / 1.24 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/1.034, allocations: 188.4 kB / 1.241 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/1.034, allocations: 266 kB / 1.241 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/1.035, allocations: 0.7373 MB / 1.242 GB, free: 172 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.035, allocations: 4 kB / 1.242 GB, free: 168 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/1.035, allocations: 3.938 kB / 1.242 GB, free: 164 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.035, allocations: 0 / 1.242 GB, free: 164 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001906/1.037, allocations: 1.07 MB / 1.243 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.037, allocations: 12.06 kB / 1.243 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.038, allocations: 194.8 kB / 1.243 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/1.039, allocations: 494.7 kB / 1.243 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/1.039, allocations: 20.38 kB / 1.243 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/1.039, allocations: 16 kB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/1.04, allocations: 335.1 kB / 1.244 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.04, allocations: 0 / 1.244 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/1.04, allocations: 11.94 kB / 1.244 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.04, allocations: 4 kB / 1.244 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/1.041, allocations: 340.6 kB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/1.043, allocations: 1.109 MB / 1.245 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.044, allocations: 401.4 kB / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/1.045, allocations: 209.4 kB / 1.246 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/1.045, allocations: 12 kB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007954/1.046, allocations: 298 kB / 1.246 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/1.046, allocations: 0 / 1.246 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008458/1.054, allocations: 1.217 MB / 1.247 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/1.055, allocations: 81.11 kB / 1.247 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.056, allocations: 1.349 MB / 1.249 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/1.056, allocations: 33.7 kB / 1.249 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/1.057, allocations: 364.4 kB / 1.249 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.057, allocations: 98.69 kB / 1.249 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.057, allocations: 69.67 kB / 1.249 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.057, allocations: 317.9 kB / 1.249 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/1.058, allocations: 176.1 kB / 1.25 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/1.058, allocations: 221.9 kB / 1.25 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.06, allocations: 406.4 kB / 1.25 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.06, allocations: 4 kB / 1.25 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003821/1.063, allocations: 0.7096 MB / 1.251 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.063, allocations: 7.938 kB / 1.251 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.063, allocations: 0 / 1.251 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/1.064, allocations: 184.7 kB / 1.251 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/1.065, allocations: 63.89 kB / 1.251 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/1.072, allocations: 2.299 MB / 1.253 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/1.073, allocations: 35.89 kB / 1.253 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/1.073, allocations: 11.98 kB / 1.253 GB, free: 3.836 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000467/1.074, allocations: 309.6 kB / 1.254 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.074, allocations: 82.91 kB / 1.254 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/1.077, allocations: 0.7583 MB / 1.254 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.077, allocations: 4 kB / 1.254 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.078, allocations: 0 / 1.254 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.078, allocations: 7.984 kB / 1.255 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/1.078, allocations: 0.5702 MB / 1.255 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.078, allocations: 0 / 1.255 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/1.078, allocations: 55.97 kB / 1.255 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/1.079, allocations: 176.6 kB / 1.255 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.079, allocations: 11.98 kB / 1.255 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/1.087, allocations: 2.295 MB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.087, allocations: 11.94 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/1.09, allocations: 0.7541 MB / 1.258 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/1.091, allocations: 144 kB / 1.258 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/1.091, allocations: 11.92 kB / 1.258 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/1.091, allocations: 27.98 kB / 1.258 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/1.091, allocations: 27.91 kB / 1.258 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.091, allocations: 19.97 kB / 1.259 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000989/1.092, allocations: 0.9949 MB / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.092, allocations: 0 / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004913/1.093, allocations: 120 kB / 1.26 GB, free: 13.22 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009598/1.094, allocations: 449.2 kB / 1.26 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.095, allocations: 0.5258 MB / 1.261 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.095, allocations: 8 kB / 1.261 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008782/1.096, allocations: 366.3 kB / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/1.097, allocations: 127.8 kB / 1.261 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.099, allocations: 1.561 MB / 1.263 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.1, allocations: 0.9722 MB / 1.263 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002773/1.1, allocations: 82.88 kB / 1.264 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.1, allocations: 51.34 kB / 1.264 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.1, allocations: 0 / 1.264 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.01816/1.118, allocations: 10.45 MB / 1.274 GB, free: 14.78 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches