Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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 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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01003/0.01003, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 462.6 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 12.84 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3117, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006249/0.318, allocations: 4.439 MB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.4909, allocations: 146.7 MB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.4922, allocations: 19.88 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.4931, allocations: 154.8 kB / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.4953, allocations: 464.7 kB / 1.207 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.4977, allocations: 0.7246 MB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.4997, allocations: 1.276 MB / 1.209 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.5007, allocations: 0.5517 MB / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.5013, allocations: 342.4 kB / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/0.5019, allocations: 385.9 kB / 1.21 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.5019, allocations: 24 kB / 1.21 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.5029, allocations: 367.6 kB / 1.21 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.5031, allocations: 191.1 kB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.5036, allocations: 466.9 kB / 1.211 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.5056, allocations: 1.483 MB / 1.212 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5056, allocations: 3.938 kB / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.787e-06/0.5056, allocations: 0 / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.519e-05/0.5057, allocations: 0 / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002788/0.5085, allocations: 1.208 MB / 1.214 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5086, allocations: 15.97 kB / 1.214 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.5095, allocations: 195.4 kB / 1.214 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5108, allocations: 0.7305 MB / 1.215 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.5108, allocations: 62 kB / 1.215 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.511, allocations: 84 kB / 1.215 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5127, allocations: 0.9222 MB / 1.216 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5127, allocations: 0 / 1.216 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.5128, allocations: 36 kB / 1.216 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.5128, allocations: 20 kB / 1.216 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.5146, allocations: 1.108 MB / 1.217 GB, free: 2.824 MB / 0.9669 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.004256/0.5189, allocations: 2.743 MB / 1.219 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5204, allocations: 0.8124 MB / 1.22 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.5209, allocations: 314.6 kB / 1.221 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/0.521, allocations: 28.69 kB / 1.221 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/0.5219, allocations: 0.4913 MB / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.334e-06/0.5219, allocations: 0 / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003151/0.525, allocations: 1.209 MB / 1.222 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5252, allocations: 192.5 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.526, allocations: 0.6254 MB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.5261, allocations: 45.7 kB / 1.223 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.5264, allocations: 400.3 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.5266, allocations: 264.2 kB / 1.224 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.5267, allocations: 69.69 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5269, allocations: 390.7 kB / 1.224 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.5275, allocations: 269.8 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.5281, allocations: 371.1 kB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5292, allocations: 0.6151 MB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5292, allocations: 0 / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00193/0.5311, allocations: 0.8567 MB / 1.226 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5312, allocations: 8 kB / 1.226 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5312, allocations: 0 / 1.226 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.5318, allocations: 84.78 kB / 1.226 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.5325, allocations: 171.7 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.5347, allocations: 1.516 MB / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/0.5355, allocations: 107.5 kB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.5356, allocations: 39.97 kB / 1.228 GB, free: 6.828 MB / 0.9825 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 (95): * Single equations (assignments): 94 * 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.000492/0.5361, allocations: 267.4 kB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5363, allocations: 86.91 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.5386, allocations: 1.066 MB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5387, allocations: 8 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5387, allocations: 0 / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5387, allocations: 3.984 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.5399, allocations: 0.8995 MB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5399, allocations: 0 / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.5405, allocations: 147.8 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.541, allocations: 84.77 kB / 1.231 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.5411, allocations: 23.98 kB / 1.231 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5428, allocations: 1.54 MB / 1.232 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5428, allocations: 7.875 kB / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5447, allocations: 0.9279 MB / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.5451, allocations: 287.6 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5452, allocations: 23.94 kB / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.5459, allocations: 92.86 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.546, allocations: 64.91 kB / 1.233 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.5461, allocations: 39.97 kB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005498/0.5467, allocations: 455 kB / 1.234 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5467, allocations: 0 / 1.234 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008478/0.5475, allocations: 323.3 kB / 1.234 GB, free: 272 kB / 0.9825 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 (91): * Single equations (assignments): 85 * 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.001372/0.5489, allocations: 0.5954 MB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.5506, allocations: 0.8391 MB / 1.236 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5506, allocations: 0 / 1.236 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.5515, allocations: 0.5238 MB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5529, allocations: 280.7 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.5561, allocations: 2.07 MB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.5568, allocations: 1.024 MB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008959/0.5577, allocations: 262.7 kB / 1.24 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.5579, allocations: 111.3 kB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.558, allocations: 0 / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.5421/1.1, allocations: 14.29 MB / 1.254 GB, free: 187 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches