Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_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_10_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.001513/0.001513, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001682/0.001682, allocations: 191 kB / 17.29 MB, free: 5.516 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.25 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2809, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006035/0.287, allocations: 4.88 MB / 1.024 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6345/0.9215, allocations: 150.6 MB / 1.171 GB, free: 208 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.9223, allocations: 18.41 kB / 1.171 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.9229, allocations: 189.5 kB / 1.171 GB, free: 76 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.9249, allocations: 0.5465 MB / 1.171 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.9268, allocations: 0.8369 MB / 1.172 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.9283, allocations: 1.376 MB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.9292, allocations: 0.5778 MB / 1.174 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.9299, allocations: 479 kB / 1.174 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.9305, allocations: 0.4967 MB / 1.175 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.9306, allocations: 123.2 kB / 1.175 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.9317, allocations: 483.5 kB / 1.176 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.932, allocations: 298.2 kB / 1.176 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.9326, allocations: 0.552 MB / 1.176 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.9347, allocations: 1.61 MB / 1.178 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9347, allocations: 0 / 1.178 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9347, allocations: 1.219 kB / 1.178 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.9347, allocations: 0 / 1.178 GB, free: 12.03 MB / 0.8887 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.002509/0.9372, allocations: 1.429 MB / 1.179 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9373, allocations: 13.8 kB / 1.179 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009243/0.9382, allocations: 184.1 kB / 1.18 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.9395, allocations: 0.7643 MB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.9396, allocations: 60.38 kB / 1.18 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.9397, allocations: 85.62 kB / 1.18 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.9412, allocations: 0.9105 MB / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.9412, allocations: 0 / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.9413, allocations: 37.19 kB / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.9413, allocations: 23.97 kB / 1.181 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.9431, allocations: 1.105 MB / 1.182 GB, free: 8.98 MB / 0.8887 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.004121/0.9472, allocations: 2.666 MB / 1.185 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.9487, allocations: 0.7943 MB / 1.186 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.9493, allocations: 300 kB / 1.186 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.9494, allocations: 31.39 kB / 1.186 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/0.9502, allocations: 0.492 MB / 1.187 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 2.325e-06/0.9502, allocations: 0 / 1.187 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.00319/0.9534, allocations: 1.189 MB / 1.188 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.9535, allocations: 188.9 kB / 1.188 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.9543, allocations: 0.6365 MB / 1.189 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.9544, allocations: 45.83 kB / 1.189 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.9547, allocations: 392.5 kB / 1.189 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.9549, allocations: 257.5 kB / 1.189 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.9552, allocations: 168.4 kB / 1.189 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9554, allocations: 388.5 kB / 1.19 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.9559, allocations: 262.5 kB / 1.19 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.9565, allocations: 368.9 kB / 1.19 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.9575, allocations: 0.6059 MB / 1.191 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9575, allocations: 0 / 1.191 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001906/0.9595, allocations: 0.8542 MB / 1.192 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9595, allocations: 5.969 kB / 1.192 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9595, allocations: 0 / 1.192 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.9601, allocations: 84.7 kB / 1.192 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.9607, allocations: 160.9 kB / 1.192 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.9628, allocations: 1.636 MB / 1.194 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.9635, allocations: 89.55 kB / 1.194 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.9636, allocations: 39.09 kB / 1.194 GB, free: 0.7656 MB / 0.8887 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.0003928/0.964, allocations: 279 kB / 1.194 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.9642, allocations: 81.91 kB / 1.194 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.9664, allocations: 1.057 MB / 1.195 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.9664, allocations: 7.688 kB / 1.195 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9664, allocations: 3.984 kB / 1.195 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9664, allocations: 10.48 kB / 1.195 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.9674, allocations: 0.8821 MB / 1.196 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9674, allocations: 0 / 1.196 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.968, allocations: 146.9 kB / 1.196 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.9684, allocations: 73.89 kB / 1.196 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.9685, allocations: 27.97 kB / 1.196 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.9703, allocations: 1.66 MB / 1.198 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9703, allocations: 0 / 1.198 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.9722, allocations: 0.9227 MB / 1.199 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.9726, allocations: 276.1 kB / 1.199 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.9728, allocations: 16.81 kB / 1.199 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.9734, allocations: 62.31 kB / 1.199 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.9735, allocations: 77.84 kB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.9736, allocations: 30.23 kB / 1.199 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005429/0.9741, allocations: 457.4 kB / 1.2 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9741, allocations: 0 / 1.2 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000836/0.975, allocations: 323.8 kB / 1.2 GB, free: 12.33 MB / 0.9044 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.001364/0.9764, allocations: 0.6031 MB / 1.201 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.978, allocations: 0.8386 MB / 1.201 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.978, allocations: 0 / 1.201 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.979, allocations: 0.5125 MB / 1.202 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9801, allocations: 309 kB / 1.202 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.9829, allocations: 1.628 MB / 1.204 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.9836, allocations: 1.02 MB / 1.205 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000765/0.9843, allocations: 261.7 kB / 1.205 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.9846, allocations: 107.8 kB / 1.205 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of SimCode: time 6.71e-07/0.9846, allocations: 0 / 1.205 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of Templates: time 0.02647/1.011, allocations: 15.03 MB / 1.22 GB, free: 10.5 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches