Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001514/0.001514, allocations: 108 kB / 15.6 MB, free: 132 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.001883/0.001883, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 55.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006451/1.011, allocations: 4.337 MB / 0.9538 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2174/1.228, allocations: 150.5 MB / 1.101 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/1.23, allocations: 15.94 kB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009378/1.231, allocations: 178.4 kB / 1.101 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/1.234, allocations: 0.4928 MB / 1.102 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/1.237, allocations: 0.8266 MB / 1.102 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00266/1.24, allocations: 1.281 MB / 1.104 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/1.241, allocations: 0.6139 MB / 1.104 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009068/1.242, allocations: 470.3 kB / 1.105 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007116/1.243, allocations: 497.8 kB / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/1.243, allocations: 116 kB / 1.105 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/1.244, allocations: 459.6 kB / 1.106 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/1.245, allocations: 291.1 kB / 1.106 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/1.245, allocations: 0.5362 MB / 1.106 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/1.247, allocations: 1.558 MB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/1.247, allocations: 4 kB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.225e-06/1.247, allocations: 0 / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.426e-05/1.247, allocations: 0 / 1.108 GB, free: 15.05 MB / 0.8731 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.002995/1.25, allocations: 1.399 MB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.25, allocations: 8.031 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/1.251, allocations: 191.4 kB / 1.11 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.253, allocations: 0.7343 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/1.253, allocations: 66 kB / 1.11 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.253, allocations: 80 kB / 1.11 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.254, allocations: 0.9183 MB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.254, allocations: 0 / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/1.255, allocations: 35.94 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/1.255, allocations: 20 kB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.256, allocations: 1.104 MB / 1.112 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/1.261, allocations: 2.492 MB / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.262, allocations: 0.7955 MB / 1.116 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/1.263, allocations: 302.6 kB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/1.263, allocations: 32.67 kB / 1.116 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.264, allocations: 491.2 kB / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/1.264, allocations: 0 / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003272/1.267, allocations: 1.186 MB / 1.118 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.267, allocations: 196.6 kB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/1.268, allocations: 0.6215 MB / 1.118 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/1.268, allocations: 45.7 kB / 1.118 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/1.268, allocations: 392.3 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.269, allocations: 272.2 kB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/1.269, allocations: 162.5 kB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.269, allocations: 390.6 kB / 1.12 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/1.27, allocations: 269.8 kB / 1.12 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/1.27, allocations: 363 kB / 1.12 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.272, allocations: 0.5995 MB / 1.121 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.272, allocations: 0 / 1.121 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002062/1.274, allocations: 0.8448 MB / 1.122 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.274, allocations: 12.09 kB / 1.122 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.274, allocations: 0 / 1.122 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/1.274, allocations: 88.7 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/1.275, allocations: 167.7 kB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/1.277, allocations: 1.626 MB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/1.278, allocations: 92.88 kB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/1.278, allocations: 31.97 kB / 1.124 GB, free: 14.57 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.0005917/1.279, allocations: 271.5 kB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.279, allocations: 86.97 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.282, allocations: 1.054 MB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.282, allocations: 8 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.282, allocations: 7.938 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.282, allocations: 3.984 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.283, allocations: 0.884 MB / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.283, allocations: 0 / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/1.283, allocations: 147.7 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/1.284, allocations: 76.77 kB / 1.126 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/1.284, allocations: 23.98 kB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.286, allocations: 1.666 MB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.286, allocations: 0 / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.288, allocations: 0.9279 MB / 1.129 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/1.288, allocations: 267.7 kB / 1.129 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.288, allocations: 16 kB / 1.129 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.289, allocations: 63.92 kB / 1.129 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.289, allocations: 68.91 kB / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/1.289, allocations: 43.84 kB / 1.129 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005556/1.29, allocations: 459 kB / 1.129 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 0 / 1.129 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008621/1.291, allocations: 311.2 kB / 1.13 GB, free: 7.969 MB / 0.8887 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.001372/1.292, allocations: 0.6017 MB / 1.13 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.294, allocations: 1.038 MB / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.294, allocations: 0 / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/1.295, allocations: 0.5119 MB / 1.132 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.297, allocations: 282.8 kB / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/1.301, allocations: 1.755 MB / 1.134 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/1.301, allocations: 1.023 MB / 1.135 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008991/1.302, allocations: 262.6 kB / 1.135 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/1.303, allocations: 103.4 kB / 1.135 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of SimCode: time 2.475e-06/1.303, allocations: 0 / 1.135 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of Templates: time 0.02702/1.33, allocations: 14.64 MB / 1.149 GB, free: 4.039 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches