Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.001651, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.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.406/2.406, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7271, allocations: 140.3 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007192/0.7343, allocations: 5.329 MB / 0.9548 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.9071, allocations: 148.6 MB / 1.1 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.9086, allocations: 19.94 kB / 1.1 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.9093, allocations: 154.7 kB / 1.1 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.9116, allocations: 0.5393 MB / 1.101 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.9144, allocations: 0.8896 MB / 1.101 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.9167, allocations: 1.677 MB / 1.103 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.9182, allocations: 1.124 MB / 1.104 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.9193, allocations: 0.6613 MB / 1.105 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000878/0.9202, allocations: 0.7737 MB / 1.106 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.9204, allocations: 116 kB / 1.106 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.9215, allocations: 455.6 kB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.9219, allocations: 390.5 kB / 1.107 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.9227, allocations: 0.812 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.9247, allocations: 1.945 MB / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9247, allocations: 0 / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.123e-06/0.9247, allocations: 4 kB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.9248, allocations: 0 / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003819/0.9286, allocations: 1.994 MB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9286, allocations: 11.97 kB / 1.111 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.9297, allocations: 254.6 kB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.9311, allocations: 0.9772 MB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.9313, allocations: 148.8 kB / 1.113 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.9315, allocations: 152 kB / 1.113 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.9342, allocations: 1.585 MB / 1.114 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.9342, allocations: 7.938 kB / 1.114 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.9344, allocations: 68 kB / 1.114 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.9344, allocations: 36 kB / 1.114 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.937, allocations: 1.592 MB / 1.116 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007317/0.9443, allocations: 4.245 MB / 1.12 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.9464, allocations: 1.099 MB / 1.121 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.9472, allocations: 427.7 kB / 1.122 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.9473, allocations: 45 kB / 1.122 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.9487, allocations: 0.6957 MB / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.306e-06/0.9487, allocations: 0 / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.004255/0.953, allocations: 1.653 MB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.9531, allocations: 192.9 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.9543, allocations: 0.8454 MB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.9545, allocations: 49.7 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/0.955, allocations: 0.6206 MB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.9553, allocations: 350.9 kB / 1.126 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.9557, allocations: 226.8 kB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9559, allocations: 345.9 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.9566, allocations: 398.4 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.9576, allocations: 0.5149 MB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.9591, allocations: 0.8799 MB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.9591, allocations: 4 kB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002792/0.9619, allocations: 1.203 MB / 1.129 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.962, allocations: 4 kB / 1.129 GB, free: 9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.962, allocations: 3.984 kB / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.9626, allocations: 84.84 kB / 1.129 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.9636, allocations: 227.7 kB / 1.13 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.9659, allocations: 1.539 MB / 1.131 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.9671, allocations: 132.9 kB / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.9672, allocations: 55.95 kB / 1.131 GB, free: 6.824 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007858/0.968, allocations: 348.3 kB / 1.132 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.9683, allocations: 114.6 kB / 1.132 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/0.9716, allocations: 1.539 MB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.9716, allocations: 16 kB / 1.133 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.9717, allocations: 7.938 kB / 1.133 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.9717, allocations: 3.984 kB / 1.133 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.9736, allocations: 1.361 MB / 1.135 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9736, allocations: 0 / 1.135 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.9744, allocations: 199.7 kB / 1.135 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.975, allocations: 84.77 kB / 1.135 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/0.9751, allocations: 35.97 kB / 1.135 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.9771, allocations: 1.559 MB / 1.136 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9771, allocations: 3.938 kB / 1.136 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.9798, allocations: 1.281 MB / 1.138 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.9805, allocations: 355.3 kB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.9807, allocations: 31.84 kB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.9815, allocations: 91.97 kB / 1.138 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.9818, allocations: 101 kB / 1.138 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.9819, allocations: 51.95 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000886/0.9828, allocations: 0.6096 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9828, allocations: 0 / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001235/0.984, allocations: 450.5 kB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001528/0.9855, allocations: 0.6246 MB / 1.14 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.9879, allocations: 1.142 MB / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9879, allocations: 0 / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.9891, allocations: 0.6779 MB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.9904, allocations: 288.8 kB / 1.142 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.9961, allocations: 3.335 MB / 1.145 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/0.997, allocations: 1.222 MB / 1.146 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/0.9975, allocations: 155.3 kB / 1.147 GB, free: 7 MB / 0.9044 GB Notification: Performance of SimCode: time 1.182e-06/0.9976, allocations: 0 / 1.147 GB, free: 7 MB / 0.9044 GB Notification: Performance of Templates: time 0.039/1.037, allocations: 26.76 MB / 1.173 GB, free: 12.31 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches