Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_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.001105/0.001105, allocations: 92.55 kB / 16.02 MB, free: 80 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.0009903/0.0009905, allocations: 176.2 kB / 16.92 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.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.65/2.65, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12 kB / 0.8735 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7238, allocations: 153.8 MB / 1.024 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006507/0.7304, allocations: 5.539 MB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1725/0.9029, allocations: 146.9 MB / 1.173 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.9043, allocations: 19.88 kB / 1.173 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.905, allocations: 174.6 kB / 1.173 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.9074, allocations: 0.5362 MB / 1.173 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.9098, allocations: 0.7513 MB / 1.174 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.9122, allocations: 1.548 MB / 1.176 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.9135, allocations: 0.8152 MB / 1.176 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.9143, allocations: 413.9 kB / 1.177 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.9149, allocations: 481.2 kB / 1.177 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.915, allocations: 28 kB / 1.177 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009023/0.9159, allocations: 379.6 kB / 1.178 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.9162, allocations: 214.9 kB / 1.178 GB, free: 1.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.9168, allocations: 0.5802 MB / 1.178 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.9183, allocations: 1.461 MB / 1.18 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9183, allocations: 0 / 1.18 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.336e-06/0.9183, allocations: 0 / 1.18 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.9184, allocations: 3.938 kB / 1.18 GB, free: 15.3 MB / 0.9356 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.002689/0.9211, allocations: 1.441 MB / 1.181 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9211, allocations: 12.03 kB / 1.181 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.9221, allocations: 231 kB / 1.181 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9234, allocations: 0.8443 MB / 1.182 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.9235, allocations: 90.41 kB / 1.182 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.9237, allocations: 116 kB / 1.182 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.9258, allocations: 1.217 MB / 1.184 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.9259, allocations: 0 / 1.184 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.926, allocations: 48 kB / 1.184 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.926, allocations: 28 kB / 1.184 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.9282, allocations: 1.289 MB / 1.185 GB, free: 9.832 MB / 0.9356 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.005819/0.934, allocations: 3.62 MB / 1.188 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.9357, allocations: 0.8753 MB / 1.189 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.9364, allocations: 330.7 kB / 1.19 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.652e-05/0.9365, allocations: 32.61 kB / 1.19 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009685/0.9374, allocations: 0.5275 MB / 1.19 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 2.514e-06/0.9375, allocations: 0 / 1.19 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003498/0.941, allocations: 1.302 MB / 1.191 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9411, allocations: 192.9 kB / 1.192 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9422, allocations: 0.7391 MB / 1.192 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.9423, allocations: 41.7 kB / 1.192 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.9428, allocations: 0.5154 MB / 1.193 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.9431, allocations: 283.9 kB / 1.193 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9432, allocations: 77.67 kB / 1.193 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9434, allocations: 334 kB / 1.194 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.944, allocations: 293.8 kB / 1.194 GB, free: 396 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.9447, allocations: 399 kB / 1.194 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.9459, allocations: 0.6672 MB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9459, allocations: 0 / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00216/0.9481, allocations: 0.9307 MB / 1.196 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.9481, allocations: 7.938 kB / 1.196 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9481, allocations: 3.938 kB / 1.196 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.9487, allocations: 88.86 kB / 1.196 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.9495, allocations: 179.7 kB / 1.196 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.9518, allocations: 1.527 MB / 1.198 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.9527, allocations: 120.8 kB / 1.198 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.9528, allocations: 43.97 kB / 1.198 GB, free: 12.26 MB / 0.9512 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.0007091/0.9535, allocations: 308.6 kB / 1.198 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9537, allocations: 90.88 kB / 1.198 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.9564, allocations: 1.133 MB / 1.199 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.9564, allocations: 12 kB / 1.199 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.9564, allocations: 0 / 1.199 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.9564, allocations: 11.91 kB / 1.199 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.958, allocations: 1.052 MB / 1.2 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.958, allocations: 0 / 1.2 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.9586, allocations: 155.8 kB / 1.2 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/0.9592, allocations: 84.72 kB / 1.2 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.9593, allocations: 31.97 kB / 1.201 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.9616, allocations: 1.552 MB / 1.202 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9616, allocations: 0 / 1.202 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.964, allocations: 0.998 MB / 1.203 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.9646, allocations: 299.5 kB / 1.203 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.9648, allocations: 24 kB / 1.203 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.9657, allocations: 87.86 kB / 1.203 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.9659, allocations: 72.89 kB / 1.203 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.966, allocations: 39.97 kB / 1.203 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008832/0.9668, allocations: 0.5068 MB / 1.204 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9668, allocations: 0 / 1.204 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00137/0.9682, allocations: 398.7 kB / 1.204 GB, free: 5.184 MB / 0.9512 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.001591/0.9698, allocations: 0.6055 MB / 1.205 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.9718, allocations: 0.8978 MB / 1.206 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.9718, allocations: 0 / 1.206 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.9729, allocations: 0.5393 MB / 1.206 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9745, allocations: 305 kB / 1.207 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.979, allocations: 2.597 MB / 1.209 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/0.98, allocations: 1.111 MB / 1.21 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.9804, allocations: 131.3 kB / 1.21 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of SimCode: time 9.91e-07/0.9804, allocations: 0 / 1.21 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.03416/1.015, allocations: 21.62 MB / 1.232 GB, free: 9.539 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches