Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 220.6 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.104/3.104, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.11 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 176.1 MB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007318/0.3375, allocations: 4.84 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5063, allocations: 132.9 MB / 1.46 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.5072, allocations: 23.81 kB / 1.46 GB, free: 7.34 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.5079, allocations: 214.1 kB / 1.461 GB, free: 7.129 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.51, allocations: 0.6329 MB / 1.461 GB, free: 6.496 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5122, allocations: 0.9077 MB / 1.462 GB, free: 5.594 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5143, allocations: 1.576 MB / 1.464 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.5151, allocations: 484.6 kB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000905/0.516, allocations: 0.5956 MB / 1.465 GB, free: 2.918 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008346/0.5169, allocations: 0.599 MB / 1.465 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.5171, allocations: 136 kB / 1.465 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5182, allocations: 0.5425 MB / 1.466 GB, free: 1.641 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.5185, allocations: 350.9 kB / 1.466 GB, free: 1.297 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.5191, allocations: 0.5287 MB / 1.467 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.5216, allocations: 1.922 MB / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5216, allocations: 0 / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5216, allocations: 4 kB / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.229e-05/0.5217, allocations: 0 / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003243/0.5249, allocations: 1.574 MB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5249, allocations: 8.031 kB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.5251, allocations: 156.5 kB / 1.47 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.5272, allocations: 291.9 kB / 1.471 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.5289, allocations: 0.7763 MB / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.529, allocations: 70.02 kB / 1.471 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.5291, allocations: 96 kB / 1.472 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5313, allocations: 1.326 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5313, allocations: 0 / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.971e-05/0.5314, allocations: 40 kB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.5314, allocations: 27.98 kB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.5335, allocations: 1.186 MB / 1.474 GB, free: 9.078 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005009/0.5385, allocations: 2.587 MB / 1.477 GB, free: 6.426 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5402, allocations: 0.8408 MB / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.5408, allocations: 311.7 kB / 1.478 GB, free: 5.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.628e-05/0.5409, allocations: 24.98 kB / 1.478 GB, free: 5.242 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.542, allocations: 0.6596 MB / 1.478 GB, free: 4.539 MB / 1.17 GB Notification: Performance of pre-optimization done (n=92): time 3.126e-06/0.542, allocations: 0 / 1.478 GB, free: 4.539 MB / 1.17 GB Notification: Performance of matching and sorting (n=92): time 0.003798/0.5458, allocations: 1.278 MB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5459, allocations: 188.9 kB / 1.48 GB, free: 3.027 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.547, allocations: 0.7078 MB / 1.48 GB, free: 2.312 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.5471, allocations: 49.64 kB / 1.48 GB, free: 2.258 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.5475, allocations: 461.1 kB / 1.481 GB, free: 1.801 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.5478, allocations: 313.3 kB / 1.481 GB, free: 1.492 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.5481, allocations: 170.6 kB / 1.481 GB, free: 1.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5483, allocations: 334 kB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.5488, allocations: 281.8 kB / 1.482 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.5496, allocations: 0.5225 MB / 1.482 GB, free: 136 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.5509, allocations: 0.6712 MB / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5509, allocations: 0 / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002282/0.5532, allocations: 0.9116 MB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5532, allocations: 4 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5532, allocations: 4 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.5538, allocations: 84.83 kB / 1.484 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.5546, allocations: 171.7 kB / 1.484 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.557, allocations: 1.539 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.5579, allocations: 97.19 kB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.558, allocations: 35.97 kB / 1.486 GB, free: 12.48 MB / 1.186 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0005549/0.5585, allocations: 279.4 kB / 1.486 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.5588, allocations: 99.38 kB / 1.486 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.5617, allocations: 1.238 MB / 1.487 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5617, allocations: 12 kB / 1.488 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5617, allocations: 3.938 kB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5617, allocations: 3.984 kB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5631, allocations: 0.8442 MB / 1.488 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5631, allocations: 0 / 1.488 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.5638, allocations: 171.8 kB / 1.489 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.5643, allocations: 72.78 kB / 1.489 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.5644, allocations: 31.97 kB / 1.489 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.5665, allocations: 1.547 MB / 1.49 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5665, allocations: 0 / 1.49 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.5689, allocations: 1.053 MB / 1.491 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.5695, allocations: 226.9 kB / 1.491 GB, free: 6.695 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.5697, allocations: 23.94 kB / 1.491 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.5704, allocations: 71.92 kB / 1.491 GB, free: 6.602 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.5706, allocations: 88.83 kB / 1.492 GB, free: 6.516 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.5707, allocations: 35.98 kB / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007162/0.5714, allocations: 0.5107 MB / 1.492 GB, free: 5.973 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5714, allocations: 0 / 1.492 GB, free: 5.973 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001035/0.5724, allocations: 379 kB / 1.492 GB, free: 5.602 MB / 1.186 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.004756/0.5772, allocations: 2.162 MB / 1.495 GB, free: 3.621 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.5792, allocations: 0.8663 MB / 1.495 GB, free: 2.746 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5792, allocations: 0 / 1.495 GB, free: 2.746 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5803, allocations: 0.5394 MB / 1.496 GB, free: 2.195 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.5817, allocations: 321.2 kB / 1.496 GB, free: 1.906 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.5942, allocations: 6.928 MB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.5948, allocations: 496.3 kB / 1.503 GB, free: 10.3 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00107/0.5958, allocations: 303.6 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/0.5965, allocations: 451.2 kB / 1.504 GB, free: 9.562 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/0.5965, allocations: 4 kB / 1.504 GB, free: 9.559 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.6646, allocations: 26.4 MB / 1.53 GB, free: 15.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.23, allocations: 14.03 kB / 1.53 GB, free: 15.49 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.96135234599933]