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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001506/0.001506, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001705/0.001705, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6722, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007102/0.6793, allocations: 5.982 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.8373, allocations: 148.6 MB / 1.168 GB, free: 7.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.8386, allocations: 19.88 kB / 1.168 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008941/0.8395, allocations: 182.6 kB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.8421, allocations: 0.5506 MB / 1.168 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.8443, allocations: 0.775 MB / 1.169 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.8463, allocations: 1.65 MB / 1.171 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.8477, allocations: 0.8695 MB / 1.172 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/0.8487, allocations: 0.6111 MB / 1.172 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.8496, allocations: 0.6612 MB / 1.173 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.8499, allocations: 156 kB / 1.173 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009403/0.8509, allocations: 495.6 kB / 1.174 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.8512, allocations: 378.8 kB / 1.174 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.8518, allocations: 0.7385 MB / 1.175 GB, free: 472 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.8537, allocations: 1.982 MB / 1.177 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8537, allocations: 0 / 1.177 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8538, allocations: 0 / 1.177 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.8538, allocations: 0 / 1.177 GB, free: 14.47 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.002758/0.8565, allocations: 1.719 MB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8566, allocations: 12.03 kB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.8575, allocations: 219 kB / 1.178 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.8586, allocations: 0.8482 MB / 1.179 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.8587, allocations: 90.41 kB / 1.179 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.8589, allocations: 116 kB / 1.179 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8609, allocations: 1.206 MB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.8609, allocations: 0 / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.861, allocations: 52 kB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.8611, allocations: 28 kB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.8632, allocations: 1.281 MB / 1.182 GB, free: 8.742 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.006348/0.8696, allocations: 3.577 MB / 1.185 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8711, allocations: 0.8675 MB / 1.186 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.8717, allocations: 326.6 kB / 1.187 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/0.8718, allocations: 36.59 kB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009706/0.8728, allocations: 0.512 MB / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 4.288e-06/0.8728, allocations: 3.938 kB / 1.187 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003607/0.8764, allocations: 1.286 MB / 1.188 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.8766, allocations: 188.9 kB / 1.189 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.8776, allocations: 0.7392 MB / 1.189 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.8777, allocations: 45.7 kB / 1.189 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.8781, allocations: 0.5114 MB / 1.19 GB, free: 364 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.8783, allocations: 279.9 kB / 1.19 GB, free: 80 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.8786, allocations: 182.5 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8788, allocations: 341.9 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.8793, allocations: 285.8 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.88, allocations: 399 kB / 1.191 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.8812, allocations: 0.6555 MB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8813, allocations: 0 / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002215/0.8835, allocations: 0.9229 MB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.8835, allocations: 4 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8835, allocations: 4.031 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/0.8842, allocations: 88.77 kB / 1.193 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.885, allocations: 171.7 kB / 1.193 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.8874, allocations: 1.647 MB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009442/0.8884, allocations: 111.2 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.8885, allocations: 40.05 kB / 1.195 GB, free: 11.07 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.0005548/0.8891, allocations: 303 kB / 1.195 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.8893, allocations: 94.78 kB / 1.195 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.8919, allocations: 1.126 MB / 1.196 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.8919, allocations: 19.94 kB / 1.196 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.892, allocations: 0 / 1.196 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.892, allocations: 3.984 kB / 1.196 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.8932, allocations: 1.056 MB / 1.197 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8932, allocations: 0 / 1.197 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.8939, allocations: 159.8 kB / 1.198 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.8944, allocations: 68.78 kB / 1.198 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.8944, allocations: 23.98 kB / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.8964, allocations: 1.669 MB / 1.199 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8964, allocations: 4.062 kB / 1.199 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.8985, allocations: 0.9901 MB / 1.2 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.8989, allocations: 283.6 kB / 1.2 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.8991, allocations: 23.98 kB / 1.201 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.8998, allocations: 76 kB / 1.201 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.9, allocations: 72.83 kB / 1.201 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.9001, allocations: 44.03 kB / 1.201 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006683/0.9008, allocations: 0.5185 MB / 1.201 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9008, allocations: 0 / 1.201 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009685/0.9018, allocations: 382.8 kB / 1.202 GB, free: 3.926 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.001356/0.9031, allocations: 0.5955 MB / 1.202 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.9057, allocations: 1.101 MB / 1.203 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9058, allocations: 0 / 1.203 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009673/0.9067, allocations: 0.5471 MB / 1.204 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.9081, allocations: 331.5 kB / 1.204 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.912, allocations: 2.526 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.9127, allocations: 1.106 MB / 1.208 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000973/0.9136, allocations: 299.6 kB / 1.208 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.9139, allocations: 115.4 kB / 1.208 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.9139, allocations: 0 / 1.208 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of Templates: time 0.02905/0.943, allocations: 16.29 MB / 1.224 GB, free: 13.32 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches