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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001737/0.001737, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001954/0.001954, allocations: 191 kB / 17.29 MB, free: 5.516 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.97 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2469, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006372/0.2533, allocations: 4.355 MB / 0.9554 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6342/0.8875, allocations: 150.5 MB / 1.102 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009658/0.8885, allocations: 15.88 kB / 1.102 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.8892, allocations: 174.3 kB / 1.103 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.891, allocations: 0.4979 MB / 1.103 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.8929, allocations: 0.8274 MB / 1.104 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.8947, allocations: 1.296 MB / 1.105 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.8956, allocations: 0.6183 MB / 1.106 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.8964, allocations: 468.1 kB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/0.8971, allocations: 494.8 kB / 1.107 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.8973, allocations: 115.3 kB / 1.107 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.8983, allocations: 486.9 kB / 1.107 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.8987, allocations: 297.6 kB / 1.107 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.8993, allocations: 0.5345 MB / 1.108 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.9015, allocations: 1.59 MB / 1.11 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9015, allocations: 3.75 kB / 1.11 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9015, allocations: 0 / 1.11 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.342e-05/0.9016, allocations: 1.375 kB / 1.11 GB, free: 4.223 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.002932/0.9045, allocations: 1.408 MB / 1.111 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.9045, allocations: 9.25 kB / 1.111 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.9055, allocations: 185.5 kB / 1.111 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.9069, allocations: 0.7659 MB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.907, allocations: 60.03 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.9072, allocations: 81.36 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.909, allocations: 0.9155 MB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.909, allocations: 5.312 kB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.9091, allocations: 36.45 kB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.9092, allocations: 25.03 kB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.911, allocations: 1.103 MB / 1.114 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.9155, allocations: 2.448 MB / 1.116 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.917, allocations: 0.7947 MB / 1.117 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.9175, allocations: 298.7 kB / 1.118 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.9176, allocations: 30.59 kB / 1.118 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.9184, allocations: 489.4 kB / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.164e-06/0.9184, allocations: 1.203 kB / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.00327/0.9216, allocations: 1.194 MB / 1.119 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.9218, allocations: 190.6 kB / 1.119 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.9226, allocations: 0.6286 MB / 1.12 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.9227, allocations: 41.83 kB / 1.12 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.9229, allocations: 398.6 kB / 1.12 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.9231, allocations: 258.4 kB / 1.121 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.9233, allocations: 167.2 kB / 1.121 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9235, allocations: 392.6 kB / 1.121 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.924, allocations: 264.1 kB / 1.121 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.9246, allocations: 364.1 kB / 1.122 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.9256, allocations: 0.5984 MB / 1.122 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.9256, allocations: 0 / 1.122 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001961/0.9276, allocations: 0.8511 MB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9276, allocations: 5.156 kB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9276, allocations: 6.594 kB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.9282, allocations: 78.17 kB / 1.123 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.9289, allocations: 171 kB / 1.123 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.9309, allocations: 1.622 MB / 1.125 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/0.9317, allocations: 94.23 kB / 1.125 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/0.9318, allocations: 36.03 kB / 1.125 GB, free: 14.99 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.0004395/0.9322, allocations: 275.8 kB / 1.125 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.9324, allocations: 84.52 kB / 1.125 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.9347, allocations: 1.048 MB / 1.126 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9347, allocations: 13.53 kB / 1.127 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9347, allocations: 0 / 1.127 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.9347, allocations: 13.41 kB / 1.127 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.9357, allocations: 0.8849 MB / 1.127 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9357, allocations: 0 / 1.127 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.9363, allocations: 140.3 kB / 1.128 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.9367, allocations: 84.44 kB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.9368, allocations: 22.11 kB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.9387, allocations: 1.663 MB / 1.129 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9387, allocations: 0 / 1.129 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.9409, allocations: 0.9218 MB / 1.13 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.9413, allocations: 270.6 kB / 1.13 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.9414, allocations: 16.22 kB / 1.13 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.942, allocations: 69.7 kB / 1.13 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.9422, allocations: 71.19 kB / 1.131 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.9423, allocations: 34 kB / 1.131 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006201/0.9429, allocations: 453.7 kB / 1.131 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9429, allocations: 1.438 kB / 1.131 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001038/0.9439, allocations: 316.1 kB / 1.131 GB, free: 12.6 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.001345/0.9453, allocations: 0.6156 MB / 1.132 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.9469, allocations: 0.8216 MB / 1.133 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9469, allocations: 1.031 kB / 1.133 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.9478, allocations: 0.5178 MB / 1.133 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.949, allocations: 291.6 kB / 1.134 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.9527, allocations: 1.722 MB / 1.135 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.9533, allocations: 1.027 MB / 1.136 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008487/0.9541, allocations: 259.5 kB / 1.136 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.9544, allocations: 102 kB / 1.137 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/0.9544, allocations: 0 / 1.137 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.02894/0.9834, allocations: 14.62 MB / 1.151 GB, free: 6.762 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 -s gbode -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) Reference file matches