Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 111.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 489 MB / 0.7678 GB, free: 24 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.88 kB / 1.101 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7806, allocations: 163.8 MB / 1.261 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006944/0.7876, allocations: 4.923 MB / 1.266 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.9581, allocations: 150.6 MB / 1.413 GB, free: 11.03 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00097/0.9591, allocations: 15.94 kB / 1.413 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.9598, allocations: 190.2 kB / 1.413 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.9619, allocations: 0.5506 MB / 1.414 GB, free: 10.28 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.9642, allocations: 0.8588 MB / 1.415 GB, free: 9.426 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.9661, allocations: 1.436 MB / 1.416 GB, free: 7.984 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009593/0.9671, allocations: 0.5831 MB / 1.416 GB, free: 7.375 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.968, allocations: 0.5022 MB / 1.417 GB, free: 6.871 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.9687, allocations: 0.5173 MB / 1.417 GB, free: 6.352 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.9689, allocations: 120 kB / 1.418 GB, free: 6.234 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.9699, allocations: 483.6 kB / 1.418 GB, free: 5.762 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.9703, allocations: 307 kB / 1.418 GB, free: 5.461 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.9709, allocations: 0.5713 MB / 1.419 GB, free: 4.887 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.9732, allocations: 1.673 MB / 1.421 GB, free: 3.207 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9732, allocations: 4 kB / 1.421 GB, free: 3.203 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9732, allocations: 0 / 1.421 GB, free: 3.203 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.175e-05/0.9733, allocations: 0 / 1.421 GB, free: 3.203 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002873/0.9762, allocations: 1.504 MB / 1.422 GB, free: 1.645 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9762, allocations: 11.97 kB / 1.422 GB, free: 1.633 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.9764, allocations: 135.5 kB / 1.422 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.9773, allocations: 196.1 kB / 1.422 GB, free: 1.301 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.9786, allocations: 0.7785 MB / 1.423 GB, free: 492 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.9787, allocations: 62 kB / 1.423 GB, free: 428 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.9788, allocations: 83.94 kB / 1.423 GB, free: 344 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.9804, allocations: 0.9457 MB / 1.424 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.9805, allocations: 0 / 1.424 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.9806, allocations: 39.98 kB / 1.424 GB, free: 15.31 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.9806, allocations: 24 kB / 1.424 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.9825, allocations: 1.12 MB / 1.425 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.987, allocations: 2.787 MB / 1.428 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.9887, allocations: 0.9212 MB / 1.429 GB, free: 10.3 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/0.9893, allocations: 306.7 kB / 1.429 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.034e-05/0.9894, allocations: 36.67 kB / 1.429 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.9904, allocations: 0.5089 MB / 1.43 GB, free: 9.438 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/0.9904, allocations: 4 kB / 1.43 GB, free: 9.434 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.003429/0.9938, allocations: 1.259 MB / 1.431 GB, free: 8.152 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.994, allocations: 196.9 kB / 1.431 GB, free: 7.914 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.9949, allocations: 0.6371 MB / 1.432 GB, free: 7.266 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/0.995, allocations: 41.7 kB / 1.432 GB, free: 7.219 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.9954, allocations: 409.1 kB / 1.432 GB, free: 6.812 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.9956, allocations: 281.6 kB / 1.433 GB, free: 6.535 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.9959, allocations: 154.6 kB / 1.433 GB, free: 6.379 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.9961, allocations: 390.7 kB / 1.433 GB, free: 5.988 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.9967, allocations: 257.9 kB / 1.433 GB, free: 5.738 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.9973, allocations: 370.5 kB / 1.434 GB, free: 5.344 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.9985, allocations: 0.6047 MB / 1.434 GB, free: 4.73 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.9985, allocations: 0 / 1.434 GB, free: 4.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002027/1.001, allocations: 0.8297 MB / 1.435 GB, free: 3.891 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.001, allocations: 11.94 kB / 1.435 GB, free: 3.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.001, allocations: 0 / 1.435 GB, free: 3.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.001, allocations: 80.88 kB / 1.435 GB, free: 3.797 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/1.002, allocations: 159.7 kB / 1.435 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.004, allocations: 1.631 MB / 1.437 GB, free: 1.867 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/1.005, allocations: 105 kB / 1.437 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/1.005, allocations: 35.97 kB / 1.437 GB, free: 1.73 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004956/1.005, allocations: 269.4 kB / 1.437 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.006, allocations: 87.44 kB / 1.437 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.008, allocations: 1.14 MB / 1.438 GB, free: 220 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/1.008, allocations: 8 kB / 1.438 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.008, allocations: 0 / 1.438 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.008, allocations: 7.984 kB / 1.438 GB, free: 204 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/1.012, allocations: 2.013 MB / 1.44 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.012, allocations: 3.938 kB / 1.44 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/1.012, allocations: 159.7 kB / 1.441 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/1.013, allocations: 76.78 kB / 1.441 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/1.013, allocations: 31.95 kB / 1.441 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.015, allocations: 1.658 MB / 1.442 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.015, allocations: 4.031 kB / 1.442 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/1.018, allocations: 1.053 MB / 1.443 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/1.018, allocations: 280.2 kB / 1.444 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/1.018, allocations: 27.98 kB / 1.444 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/1.019, allocations: 63.94 kB / 1.444 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.019, allocations: 76.89 kB / 1.444 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-05/1.019, allocations: 39.97 kB / 1.444 GB, free: 10.48 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006587/1.02, allocations: 467 kB / 1.444 GB, free: 10.03 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.21e-07/1.02, allocations: 0 / 1.444 GB, free: 10.03 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009748/1.021, allocations: 331.2 kB / 1.445 GB, free: 9.707 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004411/1.025, allocations: 2.111 MB / 1.447 GB, free: 7.762 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.027, allocations: 0.8236 MB / 1.447 GB, free: 6.926 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.027, allocations: 8 kB / 1.447 GB, free: 6.918 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.028, allocations: 0.5431 MB / 1.448 GB, free: 6.359 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.03, allocations: 307.1 kB / 1.448 GB, free: 6.082 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.041, allocations: 6.398 MB / 1.455 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.042, allocations: 1.04 MB / 1.456 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008841/1.043, allocations: 266.9 kB / 1.456 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/1.043, allocations: 407.3 kB / 1.456 GB, free: 13.8 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/1.043, allocations: 0 / 1.456 GB, free: 13.8 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/1.104, allocations: 22.25 MB / 1.478 GB, free: 7.883 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.13, allocations: 4.812 kB / 1.478 GB, free: 7.879 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.203468679916114]