Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 114 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002528/0.002528, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437.1 MB / 0.7178 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004272/0.2849, allocations: 2.204 MB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7493/1.034, allocations: 150.6 MB / 1.325 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/1.034, allocations: 6.281 kB / 1.325 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.035, allocations: 0.7743 MB / 1.326 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007348/1.036, allocations: 491.5 kB / 1.326 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/1.037, allocations: 406.8 kB / 1.327 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006963/1.038, allocations: 0.5676 MB / 1.327 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/1.038, allocations: 86.19 kB / 1.327 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/1.04, allocations: 358.7 kB / 1.328 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/1.04, allocations: 473.6 kB / 1.328 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/1.04, allocations: 23.81 kB / 1.328 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/1.041, allocations: 306 kB / 1.328 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/1.041, allocations: 182.6 kB / 1.329 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/1.041, allocations: 268.5 kB / 1.329 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009976/1.042, allocations: 0.742 MB / 1.33 GB, free: 11.78 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.042, allocations: 0 / 1.33 GB, free: 11.78 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/1.042, allocations: 4 kB / 1.33 GB, free: 11.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.042, allocations: 1.094 kB / 1.33 GB, free: 11.77 MB / 1.014 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.001733/1.044, allocations: 1.101 MB / 1.331 GB, free: 11.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.044, allocations: 9.859 kB / 1.331 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/1.046, allocations: 196.2 kB / 1.331 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/1.046, allocations: 0.4978 MB / 1.331 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/1.046, allocations: 26.61 kB / 1.331 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/1.046, allocations: 17.53 kB / 1.331 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/1.047, allocations: 330.6 kB / 1.332 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.047, allocations: 5.734 kB / 1.332 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/1.047, allocations: 9.156 kB / 1.332 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.047, allocations: 4.562 kB / 1.332 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.049, allocations: 340.7 kB / 1.332 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/1.051, allocations: 1.116 MB / 1.333 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.052, allocations: 399 kB / 1.333 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/1.053, allocations: 209.5 kB / 1.334 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/1.053, allocations: 10.78 kB / 1.334 GB, free: 9.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008498/1.054, allocations: 316.6 kB / 1.334 GB, free: 9.633 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/1.054, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008833/1.063, allocations: 1.224 MB / 1.335 GB, free: 9.227 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.063, allocations: 79.97 kB / 1.335 GB, free: 9.133 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.064, allocations: 1.344 MB / 1.337 GB, free: 8.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/1.065, allocations: 33.05 kB / 1.337 GB, free: 8.648 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.065, allocations: 367.4 kB / 1.337 GB, free: 8.355 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/1.065, allocations: 100.4 kB / 1.337 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.065, allocations: 72.98 kB / 1.337 GB, free: 8.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.065, allocations: 318.2 kB / 1.337 GB, free: 7.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/1.066, allocations: 173.8 kB / 1.338 GB, free: 7.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/1.067, allocations: 229.9 kB / 1.338 GB, free: 7.762 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/1.068, allocations: 393.3 kB / 1.338 GB, free: 7.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.068, allocations: 5.094 kB / 1.338 GB, free: 7.586 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004051/1.072, allocations: 0.72 MB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.072, allocations: 5.719 kB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.072, allocations: 1.031 kB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.073, allocations: 181.5 kB / 1.339 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/1.074, allocations: 60.84 kB / 1.339 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/1.082, allocations: 2.308 MB / 1.341 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/1.082, allocations: 43.88 kB / 1.341 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.082, allocations: 14.19 kB / 1.341 GB, free: 5.695 MB / 1.014 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.0005669/1.083, allocations: 292.2 kB / 1.342 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.083, allocations: 87.62 kB / 1.342 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/1.087, allocations: 0.7642 MB / 1.343 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.087, allocations: 6.875 kB / 1.343 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.087, allocations: 1.406 kB / 1.343 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.087, allocations: 5.969 kB / 1.343 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/1.088, allocations: 0.5675 MB / 1.343 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.088, allocations: 5.75 kB / 1.343 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/1.089, allocations: 46.58 kB / 1.343 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009596/1.09, allocations: 179.1 kB / 1.343 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/1.09, allocations: 13.62 kB / 1.343 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007783/1.097, allocations: 2.287 MB / 1.346 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.097, allocations: 8 kB / 1.346 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/1.102, allocations: 0.7655 MB / 1.346 GB, free: 2.988 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/1.102, allocations: 154.5 kB / 1.346 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.102, allocations: 12 kB / 1.346 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.103, allocations: 27.7 kB / 1.346 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.103, allocations: 24.39 kB / 1.347 GB, free: 2.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/1.103, allocations: 14.22 kB / 1.347 GB, free: 2.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001336/1.104, allocations: 1.002 MB / 1.347 GB, free: 2.477 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.104, allocations: 0 / 1.347 GB, free: 2.477 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000619/1.105, allocations: 115.6 kB / 1.348 GB, free: 2.457 MB / 1.014 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.001632/1.107, allocations: 441.8 kB / 1.348 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.109, allocations: 0.5489 MB / 1.349 GB, free: 2.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.109, allocations: 0 / 1.349 GB, free: 2.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/1.11, allocations: 364.5 kB / 1.349 GB, free: 1.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/1.11, allocations: 125.4 kB / 1.349 GB, free: 1.793 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/1.114, allocations: 1.653 MB / 1.351 GB, free: 1.082 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/1.114, allocations: 0.9653 MB / 1.352 GB, free: 364 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.115, allocations: 46.84 kB / 1.352 GB, free: 352 kB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.115, allocations: 0 / 1.352 GB, free: 352 kB / 1.014 GB Notification: Performance of Templates: time 0.02075/1.135, allocations: 11.13 MB / 1.362 GB, free: 11.52 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.156739620957524]