Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 108 kB / 15.61 MB, free: 152 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.002185/0.002185, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.7 MB / 0.7452 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 62.95 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3241, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009612/0.3338, allocations: 5.95 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.5046, allocations: 150.8 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.5058, allocations: 19.94 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.5066, allocations: 237.7 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.5087, allocations: 0.6363 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5109, allocations: 0.8627 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.5127, allocations: 1.638 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.5139, allocations: 0.8657 MB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.5147, allocations: 0.6073 MB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.5155, allocations: 0.6669 MB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5157, allocations: 156 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009551/0.5166, allocations: 495.7 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.517, allocations: 378.7 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.5176, allocations: 0.7385 MB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.5196, allocations: 1.974 MB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5196, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5196, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.5197, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002817/0.5225, allocations: 1.713 MB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5225, allocations: 12.03 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.5235, allocations: 227 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5246, allocations: 0.8482 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.5247, allocations: 90.41 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5249, allocations: 116 kB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5267, allocations: 1.206 MB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5268, allocations: 4 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5269, allocations: 52 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.5269, allocations: 28 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.5289, allocations: 1.281 MB / 1.236 GB, free: 13.97 MB / 0.9981 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.005/0.5339, allocations: 3.589 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5355, allocations: 0.8734 MB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/0.5361, allocations: 326.7 kB / 1.24 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.5362, allocations: 24.62 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009718/0.5371, allocations: 0.5276 MB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.465e-06/0.5372, allocations: 0 / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003401/0.5406, allocations: 1.274 MB / 1.242 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5407, allocations: 196.9 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.5416, allocations: 0.7352 MB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.5417, allocations: 45.7 kB / 1.243 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.5421, allocations: 0.5076 MB / 1.244 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.5424, allocations: 283.8 kB / 1.244 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.5426, allocations: 178.5 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5428, allocations: 342 kB / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.5433, allocations: 289.8 kB / 1.245 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.544, allocations: 395 kB / 1.245 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5452, allocations: 0.6594 MB / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5452, allocations: 0 / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002045/0.5473, allocations: 0.9189 MB / 1.247 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5473, allocations: 4 kB / 1.247 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5473, allocations: 3.938 kB / 1.247 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.548, allocations: 84.86 kB / 1.247 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.5487, allocations: 179.7 kB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.5508, allocations: 1.634 MB / 1.249 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/0.5517, allocations: 95.22 kB / 1.249 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.5518, allocations: 39.98 kB / 1.249 GB, free: 328 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005332/0.5523, allocations: 305.2 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5677/1.12, allocations: 92.36 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/1.123, allocations: 1.115 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.123, allocations: 14.27 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.123, allocations: 0.875 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.123, allocations: 6.578 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/1.124, allocations: 1.061 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.124, allocations: 1.359 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/1.125, allocations: 154.6 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.126, allocations: 73.42 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/1.126, allocations: 34.94 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/1.127, allocations: 1.652 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.127, allocations: 1.188 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/1.129, allocations: 0.9855 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/1.13, allocations: 293.7 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.13, allocations: 27.03 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/1.131, allocations: 65.92 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.131, allocations: 78.58 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/1.131, allocations: 37.53 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006428/1.131, allocations: 0.5105 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.131, allocations: 2.688 kB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009248/1.132, allocations: 386.8 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/1.134, allocations: 0.607 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002307/1.136, allocations: 1.112 MB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.136, allocations: 0 / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/1.137, allocations: 0.5375 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.138, allocations: 328.6 kB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.141, allocations: 1.996 MB / 1.26 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/1.141, allocations: 1.108 MB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008024/1.142, allocations: 295.3 kB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.142, allocations: 107.8 kB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.142, allocations: 0 / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02879/1.171, allocations: 16.4 MB / 1.277 GB, free: 176 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches