Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.01002/0.01002, allocations: 106.4 kB / 15.74 MB, free: 6.035 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.002487/0.002487, allocations: 196 kB / 16.67 MB, free: 5.969 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.667/1.667, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.93/2.93, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 65.69 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3463, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006975/0.3533, allocations: 4.32 MB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.5442, allocations: 150.5 MB / 1.239 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.5456, allocations: 15.94 kB / 1.239 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.5467, allocations: 170.4 kB / 1.239 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.5495, allocations: 0.5142 MB / 1.239 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.5521, allocations: 0.8248 MB / 1.24 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.5541, allocations: 1.297 MB / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.5554, allocations: 0.6334 MB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5565, allocations: 474.3 kB / 1.242 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.5578, allocations: 0.49 MB / 1.243 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.5583, allocations: 116 kB / 1.243 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.5602, allocations: 487.6 kB / 1.244 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/0.561, allocations: 291.1 kB / 1.244 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.5624, allocations: 0.5441 MB / 1.244 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.5664, allocations: 1.617 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.5665, allocations: 4 kB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5665, allocations: 3.938 kB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.4e-05/0.5666, allocations: 0 / 1.246 GB, free: 15.07 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.005552/0.5721, allocations: 1.411 MB / 1.247 GB, free: 13.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.5722, allocations: 8.031 kB / 1.247 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004401/0.5727, allocations: 135.4 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.5745, allocations: 187.4 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.5768, allocations: 0.7693 MB / 1.248 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.5769, allocations: 62 kB / 1.248 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.5772, allocations: 80 kB / 1.249 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.5802, allocations: 0.9222 MB / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.5803, allocations: 0 / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.5804, allocations: 39.98 kB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.5805, allocations: 20 kB / 1.249 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.5836, allocations: 1.108 MB / 1.251 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007037/0.5907, allocations: 2.488 MB / 1.253 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.5932, allocations: 0.8926 MB / 1.254 GB, free: 6.723 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.5941, allocations: 298.7 kB / 1.254 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.5942, allocations: 36.59 kB / 1.254 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.5953, allocations: 490.6 kB / 1.255 GB, free: 5.898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 5.811e-06/0.5953, allocations: 4 kB / 1.255 GB, free: 5.895 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003467/0.5988, allocations: 1.194 MB / 1.256 GB, free: 4.672 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5989, allocations: 192.6 kB / 1.256 GB, free: 4.441 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.6001, allocations: 0.6214 MB / 1.257 GB, free: 3.812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.6002, allocations: 41.7 kB / 1.257 GB, free: 3.766 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.6006, allocations: 396.3 kB / 1.257 GB, free: 3.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.6008, allocations: 252.4 kB / 1.257 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.6011, allocations: 146.5 kB / 1.257 GB, free: 2.969 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6013, allocations: 394.6 kB / 1.258 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.6018, allocations: 253.9 kB / 1.258 GB, free: 2.328 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.6025, allocations: 354.6 kB / 1.258 GB, free: 1.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.6036, allocations: 0.5799 MB / 1.259 GB, free: 1.359 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6036, allocations: 0 / 1.259 GB, free: 1.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002145/0.6058, allocations: 0.8019 MB / 1.26 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6058, allocations: 4 kB / 1.26 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6058, allocations: 0 / 1.26 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.6064, allocations: 88.8 kB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.6071, allocations: 151.7 kB / 1.26 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6678/1.275, allocations: 1.638 MB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.276, allocations: 83.55 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.276, allocations: 35.2 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (85): * Single equations (assignments): 84 * 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.0007331/1.277, allocations: 267.3 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.277, allocations: 84.03 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/1.281, allocations: 1.062 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.281, allocations: 10.81 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.281, allocations: 0.875 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/1.281, allocations: 5.812 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/1.287, allocations: 1.954 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.287, allocations: 0 / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.289, allocations: 141.2 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/1.289, allocations: 71.8 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.29, allocations: 27.03 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/1.293, allocations: 1.674 MB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.293, allocations: 0.75 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/1.297, allocations: 0.9996 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/1.298, allocations: 278.5 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.298, allocations: 17.47 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.299, allocations: 61.95 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.3, allocations: 75.67 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.3, allocations: 36.02 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001372/1.301, allocations: 455.3 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/1.301, allocations: 0 / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00191/1.303, allocations: 311.1 kB / 1.269 GB, free: 169 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: 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.006721/1.31, allocations: 2.043 MB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003287/1.313, allocations: 0.8028 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.313, allocations: 0.8438 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.315, allocations: 0.5112 MB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.318, allocations: 287.4 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.342, allocations: 6.302 MB / 1.279 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.343, allocations: 1.02 MB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001827/1.345, allocations: 259.5 kB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.346, allocations: 367.2 kB / 1.28 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 2.455e-06/1.346, allocations: 0 / 1.28 GB, free: 163.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6015/1.948, allocations: 21.53 MB / 1.301 GB, free: 156.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.03/31.97, allocations: 9.641 kB / 1.301 GB, free: 156.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches