Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009135/0.0009135, allocations: 98.19 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.004947/0.004947, allocations: 171 kB / 16.27 MB, free: 6.332 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.708, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005985/0.714, allocations: 5.531 MB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.8728, allocations: 146.9 MB / 1.172 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.874, allocations: 19.88 kB / 1.172 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.8746, allocations: 178.5 kB / 1.172 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.8766, allocations: 0.5374 MB / 1.173 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.8784, allocations: 0.7527 MB / 1.173 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.88, allocations: 1.548 MB / 1.175 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.8811, allocations: 0.8152 MB / 1.176 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.8817, allocations: 414 kB / 1.176 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.8822, allocations: 481.2 kB / 1.176 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.8823, allocations: 28 kB / 1.177 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.8831, allocations: 371.7 kB / 1.177 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.8833, allocations: 222.8 kB / 1.177 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.8838, allocations: 0.5724 MB / 1.178 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.8859, allocations: 1.849 MB / 1.179 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.886, allocations: 7.922 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.886, allocations: 0 / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.886, allocations: 0 / 1.179 GB, free: 15.02 MB / 0.9356 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.002835/0.8888, allocations: 1.44 MB / 1.181 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8889, allocations: 8.031 kB / 1.181 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.89, allocations: 235 kB / 1.181 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.8913, allocations: 0.8482 MB / 1.182 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.836e-05/0.8914, allocations: 98.39 kB / 1.182 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.8916, allocations: 120 kB / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.8938, allocations: 1.206 MB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.8939, allocations: 0 / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.894, allocations: 48 kB / 1.183 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.894, allocations: 28 kB / 1.183 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.8961, allocations: 1.305 MB / 1.185 GB, free: 9.527 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.9014, allocations: 3.612 MB / 1.188 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.903, allocations: 0.8714 MB / 1.189 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.9036, allocations: 334.6 kB / 1.189 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.9037, allocations: 28.61 kB / 1.189 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/0.9047, allocations: 0.5236 MB / 1.19 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 2.494e-06/0.9047, allocations: 4 kB / 1.19 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003327/0.908, allocations: 1.294 MB / 1.191 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.9081, allocations: 192.9 kB / 1.191 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.909, allocations: 0.7391 MB / 1.192 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.9091, allocations: 45.64 kB / 1.192 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.9095, allocations: 0.5154 MB / 1.193 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.9097, allocations: 283.9 kB / 1.193 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.9098, allocations: 77.67 kB / 1.193 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.91, allocations: 337.9 kB / 1.193 GB, free: 392 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.9105, allocations: 293.8 kB / 1.194 GB, free: 100 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.9112, allocations: 395.1 kB / 1.194 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.9124, allocations: 0.6712 MB / 1.195 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9124, allocations: 3.938 kB / 1.195 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002023/0.9144, allocations: 0.9267 MB / 1.195 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.9144, allocations: 4 kB / 1.196 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.9145, allocations: 7.875 kB / 1.196 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.9151, allocations: 84.88 kB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.9158, allocations: 179.8 kB / 1.196 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.9178, allocations: 1.527 MB / 1.197 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/0.9187, allocations: 123.1 kB / 1.197 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.9188, allocations: 39.97 kB / 1.197 GB, free: 11.98 MB / 0.9512 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.0005691/0.9193, allocations: 299.9 kB / 1.198 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.9195, allocations: 90.88 kB / 1.198 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.9219, allocations: 1.141 MB / 1.199 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.922, allocations: 8 kB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.922, allocations: 7.938 kB / 1.199 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.922, allocations: 7.922 kB / 1.199 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.9232, allocations: 1.052 MB / 1.2 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9232, allocations: 4 kB / 1.2 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.9238, allocations: 159.7 kB / 1.2 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.9244, allocations: 84.77 kB / 1.2 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.9244, allocations: 23.98 kB / 1.2 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.9262, allocations: 1.548 MB / 1.202 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9262, allocations: 4.062 kB / 1.202 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.9281, allocations: 0.9862 MB / 1.203 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.9285, allocations: 303.7 kB / 1.203 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9286, allocations: 24.05 kB / 1.203 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.9294, allocations: 98.91 kB / 1.203 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.9296, allocations: 72.88 kB / 1.203 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.9297, allocations: 39.98 kB / 1.203 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000729/0.9304, allocations: 0.5146 MB / 1.204 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9304, allocations: 0 / 1.204 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001137/0.9315, allocations: 390.7 kB / 1.204 GB, free: 4.898 MB / 0.9512 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.001547/0.9331, allocations: 0.6057 MB / 1.205 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.9349, allocations: 0.8937 MB / 1.206 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.935, allocations: 0 / 1.206 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009089/0.9359, allocations: 0.5395 MB / 1.206 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.9372, allocations: 306.3 kB / 1.206 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.9409, allocations: 2.561 MB / 1.209 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.9416, allocations: 1.106 MB / 1.21 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009613/0.9425, allocations: 299.6 kB / 1.21 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.9428, allocations: 103.4 kB / 1.21 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/0.9428, allocations: 0 / 1.21 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.02763/0.9705, allocations: 15.61 MB / 1.226 GB, free: 15.16 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches