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.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004937/0.004937, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001219/0.001219, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.189/2.189, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.12 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2481, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006771/0.255, allocations: 5.332 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1466/0.4016, allocations: 151 MB / 1.24 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.4024, allocations: 23.88 kB / 1.24 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.403, allocations: 206 kB / 1.24 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.4049, allocations: 0.6469 MB / 1.241 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.4068, allocations: 1.002 MB / 1.242 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.4083, allocations: 1.81 MB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.4096, allocations: 1.16 MB / 1.245 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.4104, allocations: 0.7826 MB / 1.246 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.4111, allocations: 0.8323 MB / 1.246 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.4113, allocations: 220 kB / 1.247 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008523/0.4122, allocations: 0.5815 MB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.4125, allocations: 494.5 kB / 1.248 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.4132, allocations: 0.9134 MB / 1.249 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.4155, allocations: 2.58 MB / 1.251 GB, free: 9.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4155, allocations: 7.938 kB / 1.251 GB, free: 9.785 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4155, allocations: 0 / 1.251 GB, free: 9.785 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.4156, allocations: 4 kB / 1.251 GB, free: 9.781 MB / 1.014 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.003326/0.4189, allocations: 2.05 MB / 1.253 GB, free: 7.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.419, allocations: 8.031 kB / 1.253 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.4192, allocations: 232.2 kB / 1.253 GB, free: 7.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4202, allocations: 267.6 kB / 1.254 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.4216, allocations: 1.001 MB / 1.255 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.4217, allocations: 148.8 kB / 1.255 GB, free: 5.969 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.4219, allocations: 156 kB / 1.255 GB, free: 5.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.4243, allocations: 1.589 MB / 1.256 GB, free: 4.172 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4244, allocations: 0 / 1.256 GB, free: 4.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4245, allocations: 64 kB / 1.256 GB, free: 4.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.4245, allocations: 40 kB / 1.256 GB, free: 4.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.4269, allocations: 1.596 MB / 1.258 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4878/0.9148, allocations: 4.194 MB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.9169, allocations: 1.095 MB / 1.263 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.9176, allocations: 428.7 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.9178, allocations: 43.97 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.9191, allocations: 0.7024 MB / 1.264 GB, free: 171.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=111): time 2.795e-06/0.9191, allocations: 0 / 1.264 GB, free: 171.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=111): time 0.004086/0.9232, allocations: 1.657 MB / 1.266 GB, free: 170.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.9233, allocations: 191.9 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.9245, allocations: 0.8434 MB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.9246, allocations: 51.42 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.9251, allocations: 0.6316 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.9253, allocations: 375.5 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.9256, allocations: 209.3 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.9257, allocations: 347.4 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/0.9265, allocations: 372.4 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/0.9274, allocations: 0.5077 MB / 1.269 GB, free: 168.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.9291, allocations: 0.854 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9291, allocations: 0.6562 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002723/0.9319, allocations: 1.15 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.9319, allocations: 6.547 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9319, allocations: 1 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.9326, allocations: 83.23 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9336, allocations: 228.4 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.9355, allocations: 1.647 MB / 1.273 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/0.9364, allocations: 126 kB / 1.273 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.9366, allocations: 49.47 kB / 1.273 GB, free: 166.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (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 (127): * Single equations (assignments): 126 * 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.0006467/0.9372, allocations: 352.8 kB / 1.274 GB, free: 166 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.9375, allocations: 117.8 kB / 1.274 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.9407, allocations: 1.528 MB / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.9407, allocations: 13 kB / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.9408, allocations: 0 / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.9408, allocations: 10.78 kB / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.9424, allocations: 1.379 MB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.9424, allocations: 0 / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.9432, allocations: 201.4 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.9436, allocations: 79.08 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.9437, allocations: 35.5 kB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.9453, allocations: 1.665 MB / 1.279 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9453, allocations: 4 kB / 1.279 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.9478, allocations: 1.298 MB / 1.28 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.9483, allocations: 363.8 kB / 1.28 GB, free: 162.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.9485, allocations: 32.44 kB / 1.28 GB, free: 162.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.9493, allocations: 82.67 kB / 1.28 GB, free: 162.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.9495, allocations: 99.39 kB / 1.28 GB, free: 162.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.9496, allocations: 49.5 kB / 1.281 GB, free: 162.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007924/0.9504, allocations: 0.6236 MB / 1.281 GB, free: 161.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9504, allocations: 0 / 1.281 GB, free: 161.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001061/0.9515, allocations: 449.9 kB / 1.282 GB, free: 161.9 MB / 1.014 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.003828/0.9553, allocations: 2.369 MB / 1.284 GB, free: 160.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.958, allocations: 1.108 MB / 1.285 GB, free: 160.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.958, allocations: 0 / 1.285 GB, free: 160.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.9592, allocations: 0.6844 MB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.9607, allocations: 321.7 kB / 1.286 GB, free: 159.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.9751, allocations: 8.909 MB / 1.295 GB, free: 155.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.9759, allocations: 1.223 MB / 1.296 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001027/0.9769, allocations: 315.2 kB / 1.296 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.9776, allocations: 0.6106 MB / 1.297 GB, free: 154.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.9777, allocations: 0 / 1.297 GB, free: 154.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/1.031, allocations: 28.76 MB / 1.325 GB, free: 134.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.56, allocations: 12.56 kB / 1.325 GB, free: 134.5 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/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