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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001157/0.001157, allocations: 191.5 kB / 16.13 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.61/2.61, allocations: 437 MB / 0.7099 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.91 kB / 0.8685 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7232, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007554/0.7308, allocations: 5.986 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.9006, allocations: 148.5 MB / 1.167 GB, free: 7.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.9021, allocations: 15.94 kB / 1.167 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007775/0.9029, allocations: 178.6 kB / 1.168 GB, free: 7.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.905, allocations: 0.5367 MB / 1.168 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.9071, allocations: 0.7562 MB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.9092, allocations: 1.544 MB / 1.17 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.9105, allocations: 0.8347 MB / 1.171 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.9115, allocations: 0.5447 MB / 1.172 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.9122, allocations: 0.6143 MB / 1.172 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.9124, allocations: 91.98 kB / 1.172 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.9134, allocations: 431.6 kB / 1.173 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.9137, allocations: 306.8 kB / 1.173 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.9144, allocations: 0.6721 MB / 1.174 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.9163, allocations: 1.92 MB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9163, allocations: 0 / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9163, allocations: 7.938 kB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.9163, allocations: 0 / 1.176 GB, free: 15.28 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.003007/0.9193, allocations: 1.713 MB / 1.177 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9194, allocations: 8.031 kB / 1.177 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/0.9204, allocations: 230.9 kB / 1.178 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.9216, allocations: 0.8404 MB / 1.178 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.9216, allocations: 94.39 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.9218, allocations: 112 kB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.9238, allocations: 1.202 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.9239, allocations: 0 / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.924, allocations: 55.94 kB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.924, allocations: 28 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.9261, allocations: 1.289 MB / 1.181 GB, free: 9.547 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.005243/0.9313, allocations: 3.577 MB / 1.185 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.9329, allocations: 0.8597 MB / 1.185 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.9335, allocations: 330.6 kB / 1.186 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.9336, allocations: 36.59 kB / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/0.9346, allocations: 0.5159 MB / 1.186 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 3.086e-06/0.9346, allocations: 0 / 1.186 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003393/0.938, allocations: 1.282 MB / 1.188 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9381, allocations: 196.9 kB / 1.188 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.9391, allocations: 0.7353 MB / 1.188 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.9392, allocations: 45.7 kB / 1.189 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.9397, allocations: 0.5114 MB / 1.189 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.9399, allocations: 279.9 kB / 1.189 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.9402, allocations: 182.4 kB / 1.189 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9403, allocations: 341.9 kB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.9409, allocations: 285.9 kB / 1.19 GB, free: 92 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.9416, allocations: 395.1 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.9428, allocations: 0.6672 MB / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9429, allocations: 112 / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002163/0.945, allocations: 0.9189 MB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.9451, allocations: 4 kB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9451, allocations: 3.938 kB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.9457, allocations: 84.86 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.9465, allocations: 183.8 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.9487, allocations: 1.534 MB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.9496, allocations: 111.2 kB / 1.194 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.9497, allocations: 39.97 kB / 1.194 GB, free: 11.99 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.0006485/0.9504, allocations: 300.1 kB / 1.194 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.9506, allocations: 98.78 kB / 1.194 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.9533, allocations: 1.122 MB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.9534, allocations: 12 kB / 1.195 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9534, allocations: 0 / 1.195 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.9534, allocations: 7.922 kB / 1.195 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.9551, allocations: 1.052 MB / 1.196 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9551, allocations: 0 / 1.196 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.9558, allocations: 151.8 kB / 1.197 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005609/0.9563, allocations: 88.77 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.9565, allocations: 27.98 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.9587, allocations: 1.555 MB / 1.198 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9587, allocations: 0 / 1.198 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.9611, allocations: 0.9785 MB / 1.199 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.9617, allocations: 283.6 kB / 1.199 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.9619, allocations: 27.94 kB / 1.199 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.9626, allocations: 74.2 kB / 1.2 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.9628, allocations: 72.89 kB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.9629, allocations: 39.97 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007687/0.9637, allocations: 0.5107 MB / 1.2 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9637, allocations: 4 kB / 1.2 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001195/0.9649, allocations: 394.7 kB / 1.2 GB, free: 4.969 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.00162/0.9665, allocations: 0.6013 MB / 1.201 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.9685, allocations: 0.8861 MB / 1.202 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9685, allocations: 0 / 1.202 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.9696, allocations: 0.5392 MB / 1.202 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.971, allocations: 311.4 kB / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.9754, allocations: 2.53 MB / 1.205 GB, free: 240 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.9764, allocations: 1.11 MB / 1.206 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001066/0.9774, allocations: 291.6 kB / 1.207 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.9778, allocations: 115.4 kB / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/0.9778, allocations: 0 / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of Templates: time 0.03039/1.008, allocations: 15.7 MB / 1.222 GB, free: 15.17 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