Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001273, allocations: 113.2 kB / 16.42 MB, free: 6.496 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.001262/0.001262, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7678, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01242/0.7802, allocations: 11.79 MB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.9567, allocations: 152.7 MB / 1.369 GB, free: 8.531 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.9585, allocations: 31.88 kB / 1.369 GB, free: 8.5 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.9599, allocations: 451.3 kB / 1.369 GB, free: 8.055 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.9635, allocations: 1.179 MB / 1.371 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.9666, allocations: 1.673 MB / 1.372 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004124/0.9707, allocations: 4.211 MB / 1.376 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.9736, allocations: 2.379 MB / 1.379 GB, free: 14.53 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.9755, allocations: 1.78 MB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.9775, allocations: 1.969 MB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006288/0.9782, allocations: 0.5508 MB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.9796, allocations: 0.9331 MB / 1.384 GB, free: 9.285 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.9804, allocations: 1.056 MB / 1.385 GB, free: 8.227 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.9821, allocations: 2.089 MB / 1.387 GB, free: 6.129 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.9871, allocations: 5.871 MB / 1.393 GB, free: 248 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9871, allocations: 0 / 1.393 GB, free: 248 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9871, allocations: 0 / 1.393 GB, free: 248 kB / 1.107 GB Notification: Performance of Transformations before backend: time 7.545e-05/0.9872, allocations: 0 / 1.393 GB, free: 248 kB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.007577/0.9948, allocations: 3.809 MB / 1.396 GB, free: 12.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.9949, allocations: 12.03 kB / 1.396 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/1.011, allocations: 2.216 MB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/1.014, allocations: 1.757 MB / 1.4 GB, free: 8.305 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.014, allocations: 258.9 kB / 1.4 GB, free: 8.051 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/1.015, allocations: 328 kB / 1.401 GB, free: 7.73 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/1.025, allocations: 4.457 MB / 1.405 GB, free: 3.215 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/1.026, allocations: 3.938 kB / 1.405 GB, free: 3.211 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/1.026, allocations: 140 kB / 1.405 GB, free: 3.074 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/1.026, allocations: 84 kB / 1.405 GB, free: 2.992 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/1.041, allocations: 5.147 MB / 1.41 GB, free: 13.84 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/1.062, allocations: 12.47 MB / 1.423 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.072, allocations: 3.384 MB / 1.426 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004999/1.077, allocations: 1.732 MB / 1.428 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007836/1.078, allocations: 0.5268 MB / 1.428 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005712/1.084, allocations: 2.133 MB / 1.43 GB, free: 8.969 MB / 1.154 GB Notification: Performance of pre-optimization done (n=249): time 4.378e-06/1.084, allocations: 4 kB / 1.43 GB, free: 8.965 MB / 1.154 GB Notification: Performance of matching and sorting (n=249): time 0.01715/1.101, allocations: 5.196 MB / 1.435 GB, free: 3.742 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.101, allocations: 213.9 kB / 1.435 GB, free: 3.492 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.103, allocations: 1.3 MB / 1.437 GB, free: 2.176 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002644/1.103, allocations: 73.7 kB / 1.437 GB, free: 2.098 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009546/1.104, allocations: 1.125 MB / 1.438 GB, free: 0.957 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00079/1.105, allocations: 0.7931 MB / 1.439 GB, free: 156 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009572/1.106, allocations: 459.9 kB / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.106, allocations: 305.1 kB / 1.439 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/1.111, allocations: 1.48 MB / 1.441 GB, free: 13.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.116, allocations: 1.683 MB / 1.442 GB, free: 12.19 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00971/1.126, allocations: 3.063 MB / 1.445 GB, free: 9.078 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.126, allocations: 0 / 1.445 GB, free: 9.078 MB / 1.17 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01157/1.138, allocations: 3.659 MB / 1.449 GB, free: 5.367 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.138, allocations: 11.98 kB / 1.449 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.138, allocations: 0 / 1.449 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/1.138, allocations: 89.06 kB / 1.449 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/1.143, allocations: 0.6747 MB / 1.45 GB, free: 4.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.145, allocations: 1.644 MB / 1.451 GB, free: 2.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/1.148, allocations: 417.5 kB / 1.452 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/1.149, allocations: 115.8 kB / 1.452 GB, free: 2.273 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001382/1.15, allocations: 0.6067 MB / 1.452 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/1.151, allocations: 193.8 kB / 1.453 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.164, allocations: 4.36 MB / 1.457 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.164, allocations: 15.95 kB / 1.457 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.164, allocations: 0 / 1.457 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.165, allocations: 0.7007 MB / 1.458 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/1.166, allocations: 67.83 kB / 1.458 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003361/1.169, allocations: 281.9 kB / 1.458 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.17, allocations: 185.9 kB / 1.458 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01371/1.183, allocations: 3.966 MB / 1.462 GB, free: 7.754 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01648/1.2, allocations: 5.916 MB / 1.468 GB, free: 1.758 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004931/1.205, allocations: 1.766 MB / 1.469 GB, free: 15.97 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001494/1.206, allocations: 0.9715 MB / 1.47 GB, free: 15 MB / 1.201 GB Notification: Performance of Backend: time 6.81e-07/1.206, allocations: 0 / 1.47 GB, free: 15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009072/1.215, allocations: 2.901 MB / 1.473 GB, free: 12.32 MB / 1.201 GB Notification: Performance of SimCode: time 0.007756/1.223, allocations: 4.661 MB / 1.478 GB, free: 7.617 MB / 1.201 GB Notification: Performance of Templates: time 0.07645/1.3, allocations: 50.56 MB / 1.527 GB, free: 5.312 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches