Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.91/0.91, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.559e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005681/0.005717, allocations: 5.346 MB / 0.9874 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.7159/0.7216, allocations: 133 MB / 1.117 GB, free: 19.69 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000898/0.7225, allocations: 29.22 kB / 1.117 GB, free: 19.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.7231, allocations: 253.8 kB / 1.117 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.7248, allocations: 0.6756 MB / 1.118 GB, free: 19.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.7265, allocations: 0.9103 MB / 1.119 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.7283, allocations: 1.75 MB / 1.121 GB, free: 17.68 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008178/0.7292, allocations: 0.5836 MB / 1.121 GB, free: 17.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.7305, allocations: 0.965 MB / 1.122 GB, free: 16.87 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.7311, allocations: 0.5063 MB / 1.123 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.7312, allocations: 161.2 kB / 1.123 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7323, allocations: 0.5253 MB / 1.123 GB, free: 16.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.7326, allocations: 401.2 kB / 1.124 GB, free: 16.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.733, allocations: 0.5149 MB / 1.124 GB, free: 16.04 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.7357, allocations: 2.221 MB / 1.126 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7357, allocations: 1.531 kB / 1.126 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7357, allocations: 2.109 kB / 1.126 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.7357, allocations: 0 / 1.126 GB, free: 15.11 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.002497/0.7382, allocations: 1.721 MB / 1.128 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.7383, allocations: 12.98 kB / 1.128 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/0.7393, allocations: 276.3 kB / 1.128 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.7405, allocations: 0.8189 MB / 1.129 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.7406, allocations: 95.16 kB / 1.129 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7407, allocations: 122.3 kB / 1.129 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.7423, allocations: 1.479 MB / 1.131 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.7423, allocations: 1.344 kB / 1.131 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.7424, allocations: 48.75 kB / 1.131 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.7424, allocations: 29.88 kB / 1.131 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.744, allocations: 1.249 MB / 1.132 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.7478, allocations: 2.744 MB / 1.135 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.749, allocations: 0.865 MB / 1.136 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.7494, allocations: 319.7 kB / 1.136 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.7494, allocations: 22.94 kB / 1.136 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/0.7502, allocations: 0.6404 MB / 1.137 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=95): time 2.334e-06/0.7502, allocations: 0 / 1.137 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of matching and sorting (n=95): time 0.002328/0.7525, allocations: 1.246 MB / 1.138 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.7526, allocations: 204.8 kB / 1.138 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008088/0.7534, allocations: 0.6765 MB / 1.139 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.7535, allocations: 49.28 kB / 1.139 GB, free: 8.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.7538, allocations: 0.5325 MB / 1.139 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.754, allocations: 322.7 kB / 1.14 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.7542, allocations: 190.9 kB / 1.14 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7543, allocations: 395.1 kB / 1.14 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.7548, allocations: 315.3 kB / 1.14 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.7553, allocations: 0.5412 MB / 1.141 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008685/0.7562, allocations: 0.701 MB / 1.142 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7562, allocations: 0 / 1.142 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001545/0.7577, allocations: 0.9963 MB / 1.143 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7577, allocations: 4.875 kB / 1.143 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7577, allocations: 1.891 kB / 1.143 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.7581, allocations: 84.91 kB / 1.143 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.7586, allocations: 184.4 kB / 1.143 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7598, allocations: 1.508 MB / 1.144 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.7604, allocations: 98.61 kB / 1.144 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.7604, allocations: 41.81 kB / 1.145 GB, free: 4.914 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (117): * Single equations (assignments): 116 * 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.0005761/0.761, allocations: 304.3 kB / 1.145 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7611, allocations: 95.09 kB / 1.145 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.7628, allocations: 1.154 MB / 1.146 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7628, allocations: 11.19 kB / 1.146 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7628, allocations: 1.188 kB / 1.146 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.7628, allocations: 5.391 kB / 1.146 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.7656, allocations: 2.084 MB / 1.148 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7656, allocations: 0 / 1.148 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.7659, allocations: 155.8 kB / 1.148 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.7662, allocations: 74.64 kB / 1.148 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.7662, allocations: 29.56 kB / 1.148 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.7673, allocations: 1.52 MB / 1.15 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7673, allocations: 1.594 kB / 1.15 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.7687, allocations: 1.092 MB / 1.151 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.7691, allocations: 218.7 kB / 1.151 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.7692, allocations: 25.52 kB / 1.151 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.7695, allocations: 69.62 kB / 1.151 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.7697, allocations: 84.56 kB / 1.151 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.7697, allocations: 38.12 kB / 1.151 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005375/0.7703, allocations: 482 kB / 1.152 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.7703, allocations: 3.938 kB / 1.152 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001091/0.7714, allocations: 411 kB / 1.152 GB, free: 0.75 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001143/0.7725, allocations: 0.6642 MB / 1.153 GB, free: 496 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.774, allocations: 0.9006 MB / 1.154 GB, free: 124 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.774, allocations: 0 / 1.154 GB, free: 124 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.7747, allocations: 0.5328 MB / 1.154 GB, free: 15.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009225/0.7756, allocations: 306.3 kB / 1.155 GB, free: 15.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.7789, allocations: 2.078 MB / 1.157 GB, free: 14.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.7794, allocations: 0.5289 MB / 1.157 GB, free: 14.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.7798, allocations: 127.8 kB / 1.157 GB, free: 14.51 MB / 1.01 GB Notification: Performance of SimCode: time 1.463e-06/0.7798, allocations: 0 / 1.157 GB, free: 14.51 MB / 1.01 GB Notification: Performance of Templates: time 0.0308/0.8105, allocations: 22.62 MB / 1.179 GB, free: 7.668 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.493494520895183]