Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_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_latest_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.007211/0.007211, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001667/0.001667, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 55.91 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 157.4 MB / 1.208 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003413/0.3352, allocations: 2.204 MB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8436/1.179, allocations: 150.6 MB / 1.357 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/1.179, allocations: 6.5 kB / 1.357 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/1.181, allocations: 0.7716 MB / 1.358 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009784/1.182, allocations: 495.5 kB / 1.358 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/1.183, allocations: 406.5 kB / 1.358 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008242/1.184, allocations: 0.5681 MB / 1.359 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/1.184, allocations: 81.67 kB / 1.359 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/1.186, allocations: 367 kB / 1.359 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/1.186, allocations: 471.7 kB / 1.36 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/1.186, allocations: 24.16 kB / 1.36 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/1.187, allocations: 305.7 kB / 1.36 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/1.187, allocations: 182.8 kB / 1.36 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/1.188, allocations: 268.3 kB / 1.361 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/1.189, allocations: 0.7463 MB / 1.361 GB, free: 10.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.189, allocations: 0 / 1.361 GB, free: 10.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/1.189, allocations: 0 / 1.361 GB, free: 10.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.584e-05/1.189, allocations: 3.938 kB / 1.361 GB, free: 10.21 MB / 1.061 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.001993/1.191, allocations: 1.064 MB / 1.362 GB, free: 9.414 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.191, allocations: 11.12 kB / 1.362 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.193, allocations: 195.9 kB / 1.363 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/1.193, allocations: 0.4919 MB / 1.363 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/1.193, allocations: 11.94 kB / 1.363 GB, free: 8.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/1.193, allocations: 19.27 kB / 1.363 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009766/1.194, allocations: 325.8 kB / 1.363 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.194, allocations: 5.25 kB / 1.363 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/1.195, allocations: 10.66 kB / 1.363 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.195, allocations: 4.906 kB / 1.363 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/1.196, allocations: 341.4 kB / 1.364 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/1.198, allocations: 1.105 MB / 1.365 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.199, allocations: 404.5 kB / 1.365 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/1.2, allocations: 206.5 kB / 1.365 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/1.2, allocations: 12.09 kB / 1.365 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/1.201, allocations: 308.4 kB / 1.366 GB, free: 7.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.325e-06/1.201, allocations: 0 / 1.366 GB, free: 7.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008604/1.209, allocations: 1.216 MB / 1.367 GB, free: 7.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.21, allocations: 80.8 kB / 1.367 GB, free: 7.176 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.211, allocations: 1.342 MB / 1.368 GB, free: 6.633 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/1.211, allocations: 32.52 kB / 1.368 GB, free: 6.598 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/1.212, allocations: 373.7 kB / 1.369 GB, free: 6.277 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.212, allocations: 96.33 kB / 1.369 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.212, allocations: 66.58 kB / 1.369 GB, free: 6.148 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.212, allocations: 316.8 kB / 1.369 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/1.213, allocations: 174.5 kB / 1.369 GB, free: 5.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/1.213, allocations: 232.7 kB / 1.37 GB, free: 5.598 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.215, allocations: 397.4 kB / 1.37 GB, free: 5.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.215, allocations: 5.375 kB / 1.37 GB, free: 5.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004011/1.219, allocations: 0.7168 MB / 1.371 GB, free: 4.996 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.219, allocations: 5.812 kB / 1.371 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.219, allocations: 1 kB / 1.371 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.22, allocations: 183.3 kB / 1.371 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/1.22, allocations: 61.8 kB / 1.371 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007659/1.228, allocations: 2.3 MB / 1.373 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/1.229, allocations: 49 kB / 1.373 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/1.229, allocations: 17.05 kB / 1.373 GB, free: 2.938 MB / 1.061 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.0006087/1.229, allocations: 301.3 kB / 1.373 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.23, allocations: 84.41 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/1.234, allocations: 0.7442 MB / 1.374 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.234, allocations: 7.531 kB / 1.374 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.234, allocations: 0 / 1.374 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/1.234, allocations: 5.047 kB / 1.374 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/1.234, allocations: 0.58 MB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.234, allocations: 1.344 kB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.235, allocations: 48.25 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009587/1.236, allocations: 178.1 kB / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.236, allocations: 13.48 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/1.243, allocations: 2.297 MB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.243, allocations: 5.094 kB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/1.247, allocations: 0.7515 MB / 1.378 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/1.248, allocations: 151.3 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.248, allocations: 16.41 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/1.249, allocations: 29.44 kB / 1.378 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.249, allocations: 23.75 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/1.249, allocations: 17.75 kB / 1.378 GB, free: 15.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001752/1.25, allocations: 0.9996 MB / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/1.25, allocations: 0 / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007249/1.251, allocations: 112.5 kB / 1.379 GB, free: 14.73 MB / 1.076 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.001172/1.252, allocations: 453.2 kB / 1.38 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001949/1.254, allocations: 0.5396 MB / 1.38 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.254, allocations: 1.031 kB / 1.38 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.255, allocations: 362.3 kB / 1.381 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/1.256, allocations: 119.7 kB / 1.381 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/1.26, allocations: 1.585 MB / 1.382 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.26, allocations: 0.9632 MB / 1.383 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005797/1.261, allocations: 80.31 kB / 1.383 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.261, allocations: 45.97 kB / 1.383 GB, free: 12.21 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.261, allocations: 0 / 1.383 GB, free: 12.21 MB / 1.076 GB Notification: Performance of Templates: time 0.02115/1.282, allocations: 10.26 MB / 1.393 GB, free: 7.031 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches