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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001578/0.001578, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.522/2.522, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.6982, allocations: 140.4 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005181/0.7034, allocations: 4.358 MB / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.8823, allocations: 148.2 MB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.8834, allocations: 15.94 kB / 1.098 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.8841, allocations: 142.9 kB / 1.098 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.8861, allocations: 432.9 kB / 1.099 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.8881, allocations: 0.715 MB / 1.099 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.8895, allocations: 1.195 MB / 1.1 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008581/0.8904, allocations: 0.6114 MB / 1.101 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.891, allocations: 398.3 kB / 1.101 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.8915, allocations: 465.8 kB / 1.102 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.8916, allocations: 56 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009235/0.8926, allocations: 395.6 kB / 1.102 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.8929, allocations: 231.1 kB / 1.102 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.8933, allocations: 493.1 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.895, allocations: 1.499 MB / 1.104 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.895, allocations: 7.984 kB / 1.104 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.895, allocations: 0 / 1.104 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.8951, allocations: 0 / 1.104 GB, free: 2.332 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.002795/0.8979, allocations: 1.407 MB / 1.106 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.8979, allocations: 8.031 kB / 1.106 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.899, allocations: 183.4 kB / 1.106 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.9001, allocations: 0.7498 MB / 1.107 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.9002, allocations: 58 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9003, allocations: 84 kB / 1.107 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.9019, allocations: 0.9183 MB / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9019, allocations: 0 / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.902, allocations: 36 kB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.902, allocations: 20 kB / 1.108 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.9038, allocations: 1.1 MB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.9078, allocations: 2.488 MB / 1.111 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.9093, allocations: 0.7942 MB / 1.112 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.9099, allocations: 298.6 kB / 1.112 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.91, allocations: 36.59 kB / 1.112 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009926/0.911, allocations: 491.2 kB / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.911, allocations: 0 / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003391/0.9144, allocations: 1.19 MB / 1.114 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.9145, allocations: 196.6 kB / 1.114 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.9154, allocations: 0.6215 MB / 1.115 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/0.9155, allocations: 45.69 kB / 1.115 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.9159, allocations: 396.3 kB / 1.115 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.9161, allocations: 268.2 kB / 1.115 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.9164, allocations: 158.5 kB / 1.116 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9166, allocations: 386.7 kB / 1.116 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.9171, allocations: 269.8 kB / 1.116 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.9178, allocations: 367.1 kB / 1.117 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.9189, allocations: 0.6033 MB / 1.117 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9189, allocations: 0 / 1.117 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002089/0.921, allocations: 0.8488 MB / 1.118 GB, free: 4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9211, allocations: 8 kB / 1.118 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.9211, allocations: 0 / 1.118 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.9217, allocations: 84.78 kB / 1.118 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.9224, allocations: 163.7 kB / 1.118 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.9247, allocations: 1.516 MB / 1.12 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.9255, allocations: 93.11 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.9256, allocations: 35.97 kB / 1.12 GB, free: 1.961 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.0005595/0.9262, allocations: 271.5 kB / 1.12 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.9264, allocations: 86.91 kB / 1.12 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.9289, allocations: 1.054 MB / 1.121 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.9289, allocations: 12 kB / 1.121 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.9289, allocations: 4 kB / 1.121 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.9289, allocations: 7.969 kB / 1.121 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.9301, allocations: 0.884 MB / 1.122 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.9301, allocations: 3.984 kB / 1.122 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.9308, allocations: 135.8 kB / 1.122 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.9313, allocations: 88.75 kB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.9314, allocations: 23.98 kB / 1.122 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.9333, allocations: 1.548 MB / 1.124 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9333, allocations: 3.938 kB / 1.124 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.9354, allocations: 0.9201 MB / 1.125 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.9359, allocations: 267.7 kB / 1.125 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.936, allocations: 24 kB / 1.125 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.9367, allocations: 59.92 kB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.9369, allocations: 72.91 kB / 1.125 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/0.937, allocations: 32.03 kB / 1.125 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006335/0.9376, allocations: 459 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.463e-06/0.9376, allocations: 0 / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009735/0.9386, allocations: 315.1 kB / 1.126 GB, free: 11.48 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.001617/0.9402, allocations: 0.6118 MB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.942, allocations: 0.8234 MB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.942, allocations: 4 kB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.943, allocations: 0.5083 MB / 1.128 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.9442, allocations: 265.6 kB / 1.128 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.9486, allocations: 2.16 MB / 1.13 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.9492, allocations: 1.016 MB / 1.131 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009263/0.9502, allocations: 258.5 kB / 1.131 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.9505, allocations: 103.4 kB / 1.132 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/0.9505, allocations: 4 kB / 1.132 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of Templates: time 0.02837/0.9789, allocations: 14 MB / 1.145 GB, free: 7.988 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