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.001602/0.001602, allocations: 108.2 kB / 15.99 MB, free: 6.359 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.001981/0.001981, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.198/2.198, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.12 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006417/0.2762, allocations: 4.352 MB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.636/0.9122, allocations: 148.3 MB / 1.099 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.913, allocations: 16.06 kB / 1.099 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.9135, allocations: 134.3 kB / 1.099 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.9152, allocations: 447.6 kB / 1.099 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.917, allocations: 0.7382 MB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.9186, allocations: 1.295 MB / 1.101 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.9196, allocations: 0.6137 MB / 1.102 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008344/0.9204, allocations: 471.3 kB / 1.102 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.9211, allocations: 494.9 kB / 1.103 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.9213, allocations: 113.9 kB / 1.103 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009816/0.9223, allocations: 456.3 kB / 1.103 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.9226, allocations: 296 kB / 1.104 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.9231, allocations: 0.5369 MB / 1.104 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.9248, allocations: 1.194 MB / 1.105 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9248, allocations: 6.969 kB / 1.105 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9248, allocations: 0 / 1.105 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.9248, allocations: 0 / 1.105 GB, free: 4.637 MB / 0.8575 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.002785/0.9276, allocations: 1.4 MB / 1.107 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9276, allocations: 9.922 kB / 1.107 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.9286, allocations: 187.4 kB / 1.107 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.9297, allocations: 0.7396 MB / 1.108 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.9298, allocations: 65.3 kB / 1.108 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.9299, allocations: 78.91 kB / 1.108 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.9317, allocations: 0.9156 MB / 1.109 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.9318, allocations: 0 / 1.109 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.9319, allocations: 37.84 kB / 1.109 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.9319, allocations: 19.91 kB / 1.109 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.9337, allocations: 1.11 MB / 1.11 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.9378, allocations: 2.484 MB / 1.112 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.9393, allocations: 0.8 MB / 1.113 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.9398, allocations: 302.8 kB / 1.113 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.127e-05/0.9399, allocations: 33.56 kB / 1.113 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/0.9408, allocations: 490.7 kB / 1.114 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.395e-06/0.9408, allocations: 0 / 1.114 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003262/0.9441, allocations: 1.189 MB / 1.115 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.9442, allocations: 194.8 kB / 1.115 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.9451, allocations: 0.6298 MB / 1.116 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/0.9452, allocations: 40.91 kB / 1.116 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.9456, allocations: 395.2 kB / 1.116 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.9457, allocations: 268.8 kB / 1.117 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.946, allocations: 163.4 kB / 1.117 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9462, allocations: 390.1 kB / 1.117 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.9467, allocations: 267.9 kB / 1.117 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.9472, allocations: 360 kB / 1.118 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.9483, allocations: 0.6024 MB / 1.118 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9483, allocations: 0 / 1.118 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002079/0.9504, allocations: 0.851 MB / 1.119 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9504, allocations: 5.438 kB / 1.119 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.9504, allocations: 1.25 kB / 1.119 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.9511, allocations: 83.3 kB / 1.119 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.9517, allocations: 164 kB / 1.119 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.9539, allocations: 1.629 MB / 1.121 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/0.9548, allocations: 97.39 kB / 1.121 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.9549, allocations: 36.7 kB / 1.121 GB, free: 15.45 MB / 0.8731 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.0005841/0.9555, allocations: 271 kB / 1.121 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.9557, allocations: 83.58 kB / 1.121 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.9582, allocations: 1.06 MB / 1.122 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.9582, allocations: 9.312 kB / 1.122 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.9582, allocations: 1.344 kB / 1.122 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.9582, allocations: 12.16 kB / 1.122 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.9595, allocations: 0.8855 MB / 1.123 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.9595, allocations: 0 / 1.123 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.9601, allocations: 149.6 kB / 1.123 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/0.9606, allocations: 73.83 kB / 1.124 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.9606, allocations: 28.52 kB / 1.124 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.9628, allocations: 1.656 MB / 1.125 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9628, allocations: 1.188 kB / 1.125 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.9649, allocations: 0.9227 MB / 1.126 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.9654, allocations: 266.8 kB / 1.126 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.9657, allocations: 19.56 kB / 1.126 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.9664, allocations: 71.33 kB / 1.126 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.9666, allocations: 65 kB / 1.126 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.9667, allocations: 36.47 kB / 1.127 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007548/0.9674, allocations: 456.7 kB / 1.127 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9674, allocations: 0 / 1.127 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001167/0.9686, allocations: 312.1 kB / 1.127 GB, free: 13.05 MB / 0.8731 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.001535/0.9701, allocations: 0.6071 MB / 1.128 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.9727, allocations: 1.027 MB / 1.129 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.9727, allocations: 1.188 kB / 1.129 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.9737, allocations: 0.5166 MB / 1.129 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.9752, allocations: 295.7 kB / 1.13 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.9798, allocations: 2.19 MB / 1.132 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/0.9807, allocations: 1.02 MB / 1.133 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.9811, allocations: 114.3 kB / 1.133 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/0.9811, allocations: 0 / 1.133 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.02882/1.01, allocations: 18.24 MB / 1.151 GB, free: 5.508 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time