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.001549/0.001549, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001693/0.001693, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.776/2.776, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 176] 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.002519/0.002519, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9072/0.9097, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00505/0.9147, allocations: 4.95 MB / 1.309 GB, free: 28.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1749/1.09, allocations: 151.1 MB / 1.456 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/1.091, allocations: 15.94 kB / 1.456 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/1.091, allocations: 195.6 kB / 1.457 GB, free: 14.6 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/1.094, allocations: 0.5551 MB / 1.457 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/1.096, allocations: 0.8501 MB / 1.458 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002283/1.099, allocations: 1.431 MB / 1.459 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/1.1, allocations: 430.7 kB / 1.46 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/1.101, allocations: 0.4995 MB / 1.46 GB, free: 12.56 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/1.102, allocations: 0.5238 MB / 1.461 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003562/1.102, allocations: 118.3 kB / 1.461 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/1.103, allocations: 496.6 kB / 1.461 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/1.104, allocations: 299.7 kB / 1.462 GB, free: 11.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/1.105, allocations: 0.5734 MB / 1.462 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/1.108, allocations: 1.675 MB / 1.464 GB, free: 10.87 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.108, allocations: 0.5156 kB / 1.464 GB, free: 10.87 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.264e-06/1.108, allocations: 1.125 kB / 1.464 GB, free: 10.87 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.834e-05/1.108, allocations: 0 / 1.464 GB, free: 10.87 MB / 1.154 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.003341/1.111, allocations: 1.504 MB / 1.465 GB, free: 9.848 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.111, allocations: 10.41 kB / 1.465 GB, free: 9.848 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/1.111, allocations: 138 kB / 1.465 GB, free: 9.754 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/1.112, allocations: 192.3 kB / 1.466 GB, free: 9.688 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/1.114, allocations: 0.7868 MB / 1.466 GB, free: 9.172 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/1.114, allocations: 65.64 kB / 1.466 GB, free: 9.141 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.114, allocations: 84 kB / 1.466 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.116, allocations: 0.9424 MB / 1.467 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.116, allocations: 1.125 kB / 1.467 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/1.116, allocations: 37.2 kB / 1.467 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.116, allocations: 21.53 kB / 1.467 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/1.118, allocations: 1.125 MB / 1.469 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/1.122, allocations: 2.792 MB / 1.471 GB, free: 5.938 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.124, allocations: 0.8572 MB / 1.472 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/1.125, allocations: 289 kB / 1.472 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/1.125, allocations: 26.88 kB / 1.472 GB, free: 5.281 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/1.126, allocations: 0.5132 MB / 1.473 GB, free: 4.949 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.535e-06/1.126, allocations: 0 / 1.473 GB, free: 4.949 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.003423/1.129, allocations: 1.256 MB / 1.474 GB, free: 4.273 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.129, allocations: 194.5 kB / 1.474 GB, free: 4.051 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/1.13, allocations: 0.643 MB / 1.475 GB, free: 3.676 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/1.13, allocations: 42.05 kB / 1.475 GB, free: 3.633 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.131, allocations: 410.2 kB / 1.475 GB, free: 3.273 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/1.131, allocations: 279.3 kB / 1.476 GB, free: 3.031 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.131, allocations: 155.5 kB / 1.476 GB, free: 2.934 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000267/1.131, allocations: 388.3 kB / 1.476 GB, free: 2.562 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/1.132, allocations: 262.8 kB / 1.476 GB, free: 2.434 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/1.133, allocations: 368.6 kB / 1.477 GB, free: 2.203 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.134, allocations: 0.6 MB / 1.477 GB, free: 1.879 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.134, allocations: 1 kB / 1.477 GB, free: 1.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002046/1.136, allocations: 0.8367 MB / 1.478 GB, free: 1.445 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.136, allocations: 12 kB / 1.478 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.136, allocations: 1.125 kB / 1.478 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/1.136, allocations: 85.3 kB / 1.478 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/1.137, allocations: 157.2 kB / 1.478 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/1.139, allocations: 1.638 MB / 1.48 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/1.14, allocations: 96.38 kB / 1.48 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/1.14, allocations: 32.72 kB / 1.48 GB, free: 15.67 MB / 1.17 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.000584/1.141, allocations: 266.8 kB / 1.48 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.141, allocations: 93.3 kB / 1.48 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.144, allocations: 1.134 MB / 1.482 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.144, allocations: 14.47 kB / 1.482 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/1.144, allocations: 0 / 1.482 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.144, allocations: 9.156 kB / 1.482 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/1.148, allocations: 2.018 MB / 1.484 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.148, allocations: 1.469 kB / 1.484 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/1.148, allocations: 153.7 kB / 1.484 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/1.149, allocations: 74.5 kB / 1.484 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/1.149, allocations: 24.45 kB / 1.484 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.151, allocations: 1.666 MB / 1.485 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.151, allocations: 144 / 1.485 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.153, allocations: 1.057 MB / 1.486 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/1.153, allocations: 282.5 kB / 1.487 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.154, allocations: 17.97 kB / 1.487 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/1.154, allocations: 68.8 kB / 1.487 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.154, allocations: 81.27 kB / 1.487 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/1.155, allocations: 40.66 kB / 1.487 GB, free: 10.77 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006424/1.155, allocations: 465.7 kB / 1.487 GB, free: 10.51 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.155, allocations: 0 / 1.487 GB, free: 10.51 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001063/1.156, allocations: 332.5 kB / 1.488 GB, free: 10.41 MB / 1.17 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.004312/1.161, allocations: 2.114 MB / 1.49 GB, free: 8.559 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001779/1.162, allocations: 0.7961 MB / 1.491 GB, free: 7.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.162, allocations: 4.188 kB / 1.491 GB, free: 7.746 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/1.163, allocations: 0.5002 MB / 1.491 GB, free: 7.234 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.165, allocations: 302.3 kB / 1.491 GB, free: 6.957 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.176, allocations: 6.408 MB / 1.498 GB, free: 400 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/1.177, allocations: 1.029 MB / 1.499 GB, free: 15.33 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001108/1.178, allocations: 282.9 kB / 1.499 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/1.178, allocations: 408.5 kB / 1.499 GB, free: 14.65 MB / 1.186 GB Notification: Performance of SimCode: time 9.11e-07/1.178, allocations: 0 / 1.499 GB, free: 14.65 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/1.24, allocations: 22.36 MB / 1.521 GB, free: 8.59 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.21, allocations: 5.5 kB / 1.521 GB, free: 8.586 MB / 1.201 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.527793666813523]