Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_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_9_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.0009992/0.000999, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009333/0.009333, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.386/2.386, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6872, allocations: 142.4 MB / 0.955 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004456/0.6917, allocations: 4.305 MB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1626/0.8543, allocations: 146.8 MB / 1.103 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000683/0.8551, allocations: 19.88 kB / 1.103 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.8556, allocations: 150.8 kB / 1.103 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.857, allocations: 453.2 kB / 1.103 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.8588, allocations: 0.7442 MB / 1.104 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.8602, allocations: 1.343 MB / 1.105 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.8614, allocations: 0.873 MB / 1.106 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.8619, allocations: 385.9 kB / 1.106 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.8624, allocations: 447.1 kB / 1.107 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.8625, allocations: 28 kB / 1.107 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.8632, allocations: 375.6 kB / 1.107 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.8634, allocations: 210.9 kB / 1.107 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.8639, allocations: 0.5488 MB / 1.108 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.8656, allocations: 1.787 MB / 1.11 GB, free: 444 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8656, allocations: 0 / 1.11 GB, free: 444 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8656, allocations: 0 / 1.11 GB, free: 444 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.8656, allocations: 0 / 1.11 GB, free: 444 kB / 0.8575 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.002459/0.8681, allocations: 1.405 MB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8681, allocations: 12.03 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009432/0.8691, allocations: 235 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.8702, allocations: 0.8443 MB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.8703, allocations: 90.41 kB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.8705, allocations: 116 kB / 1.112 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.8725, allocations: 1.206 MB / 1.114 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.8726, allocations: 0 / 1.114 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.8727, allocations: 52 kB / 1.114 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.8727, allocations: 28 kB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.8748, allocations: 1.301 MB / 1.115 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.8797, allocations: 3.203 MB / 1.118 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.8813, allocations: 0.8686 MB / 1.119 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.8819, allocations: 322.7 kB / 1.119 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.688e-05/0.882, allocations: 36.59 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009513/0.883, allocations: 0.5159 MB / 1.12 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.094e-06/0.883, allocations: 0 / 1.12 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003289/0.8863, allocations: 1.298 MB / 1.121 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.8864, allocations: 192.9 kB / 1.121 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009667/0.8874, allocations: 0.7353 MB / 1.122 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.8875, allocations: 45.7 kB / 1.122 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.8879, allocations: 0.5153 MB / 1.122 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.8881, allocations: 279.9 kB / 1.123 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8883, allocations: 77.67 kB / 1.123 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8884, allocations: 341.9 kB / 1.123 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.889, allocations: 289.9 kB / 1.123 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.8897, allocations: 395.1 kB / 1.124 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.8909, allocations: 0.6631 MB / 1.124 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.891, allocations: 3.984 kB / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002117/0.8931, allocations: 0.9267 MB / 1.125 GB, free: 64 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.8931, allocations: 4 kB / 1.125 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.8931, allocations: 7.938 kB / 1.125 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.8938, allocations: 84.92 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.8946, allocations: 179.6 kB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.8967, allocations: 1.52 MB / 1.127 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.8976, allocations: 112.6 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.8976, allocations: 39.97 kB / 1.127 GB, free: 13.98 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 (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.0005413/0.8982, allocations: 307.4 kB / 1.127 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8983, allocations: 94.78 kB / 1.128 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.9009, allocations: 1.126 MB / 1.129 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.901, allocations: 12 kB / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.901, allocations: 0 / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.901, allocations: 19.78 kB / 1.129 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.9023, allocations: 1.044 MB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.9023, allocations: 8.031 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.9029, allocations: 155.8 kB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/0.9035, allocations: 80.78 kB / 1.13 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.9036, allocations: 31.97 kB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.9057, allocations: 1.536 MB / 1.131 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9057, allocations: 4.062 kB / 1.131 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.9079, allocations: 0.994 MB / 1.132 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.9084, allocations: 303.5 kB / 1.133 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9085, allocations: 24 kB / 1.133 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.9092, allocations: 81.75 kB / 1.133 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.9093, allocations: 72.89 kB / 1.133 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.9094, allocations: 36.05 kB / 1.133 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006756/0.9101, allocations: 0.5185 MB / 1.133 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9101, allocations: 0 / 1.133 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009054/0.911, allocations: 358.8 kB / 1.134 GB, free: 6.953 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 (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.001422/0.9125, allocations: 0.6142 MB / 1.134 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.9143, allocations: 0.8899 MB / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9143, allocations: 0 / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009958/0.9153, allocations: 0.551 MB / 1.136 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.9167, allocations: 288.7 kB / 1.136 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.9215, allocations: 2.682 MB / 1.139 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.9223, allocations: 1.11 MB / 1.14 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009111/0.9232, allocations: 279.3 kB / 1.14 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.9235, allocations: 119.2 kB / 1.14 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.9235, allocations: 0 / 1.14 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of Templates: time 0.02576/0.9493, allocations: 14.82 MB / 1.155 GB, free: 1.871 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches