Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001499/0.001499, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001649/0.001649, allocations: 215 kB / 20.13 MB, free: 2.949 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.861/2.861, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",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.001964/0.001964, allocations: 64.19 kB / 1.149 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8982, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004864/0.903, allocations: 4.873 MB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1816/1.085, allocations: 154 MB / 1.477 GB, free: 4.336 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/1.086, allocations: 19.47 kB / 1.477 GB, free: 4.328 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/1.086, allocations: 198.6 kB / 1.477 GB, free: 4.152 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/1.089, allocations: 0.5677 MB / 1.477 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/1.091, allocations: 0.8555 MB / 1.478 GB, free: 3.082 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002016/1.093, allocations: 1.406 MB / 1.48 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/1.094, allocations: 423.7 kB / 1.48 GB, free: 1.891 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009017/1.095, allocations: 0.5036 MB / 1.48 GB, free: 1.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008459/1.096, allocations: 0.5089 MB / 1.481 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/1.096, allocations: 119.5 kB / 1.481 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/1.097, allocations: 0.5129 MB / 1.482 GB, free: 1.023 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000402/1.098, allocations: 303.5 kB / 1.482 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008737/1.098, allocations: 0.5627 MB / 1.482 GB, free: 376 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/1.101, allocations: 1.706 MB / 1.484 GB, free: 15.14 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.101, allocations: 4 kB / 1.484 GB, free: 15.13 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/1.101, allocations: 0 / 1.484 GB, free: 15.13 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.139e-05/1.101, allocations: 0 / 1.484 GB, free: 15.13 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002795/1.104, allocations: 1.491 MB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.104, allocations: 13.14 kB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.919e-05/1.104, allocations: 23.03 kB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/1.104, allocations: 136 kB / 1.486 GB, free: 13.83 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/1.106, allocations: 240.3 kB / 1.486 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/1.107, allocations: 0.7845 MB / 1.487 GB, free: 13.08 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/1.107, allocations: 68.28 kB / 1.487 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.107, allocations: 82 kB / 1.487 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.109, allocations: 0.9166 MB / 1.488 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/1.109, allocations: 3.984 kB / 1.488 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/1.109, allocations: 36.12 kB / 1.488 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.109, allocations: 20.59 kB / 1.488 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/1.111, allocations: 1.106 MB / 1.489 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/1.115, allocations: 2.77 MB / 1.492 GB, free: 9.617 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.117, allocations: 0.8465 MB / 1.492 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/1.117, allocations: 276.6 kB / 1.493 GB, free: 8.977 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/1.117, allocations: 34.8 kB / 1.493 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009136/1.118, allocations: 494 kB / 1.493 GB, free: 8.645 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.856e-06/1.118, allocations: 0 / 1.493 GB, free: 8.645 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003342/1.122, allocations: 1.204 MB / 1.494 GB, free: 7.953 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.122, allocations: 188.6 kB / 1.495 GB, free: 7.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/1.123, allocations: 0.6567 MB / 1.495 GB, free: 7.062 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/1.123, allocations: 41.7 kB / 1.495 GB, free: 7.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/1.123, allocations: 409 kB / 1.496 GB, free: 6.609 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.123, allocations: 265.7 kB / 1.496 GB, free: 6.348 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/1.124, allocations: 146.6 kB / 1.496 GB, free: 6.199 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002035/1.124, allocations: 386.8 kB / 1.496 GB, free: 5.812 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/1.124, allocations: 245.9 kB / 1.497 GB, free: 5.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/1.125, allocations: 358.6 kB / 1.497 GB, free: 5.195 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.126, allocations: 0.5799 MB / 1.497 GB, free: 4.602 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.126, allocations: 4 kB / 1.497 GB, free: 4.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002002/1.128, allocations: 0.8063 MB / 1.498 GB, free: 3.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.128, allocations: 4 kB / 1.498 GB, free: 3.777 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.128, allocations: 7.938 kB / 1.498 GB, free: 3.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/1.129, allocations: 84.86 kB / 1.498 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/1.129, allocations: 147.8 kB / 1.499 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.132, allocations: 1.646 MB / 1.5 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/1.133, allocations: 91.5 kB / 1.5 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/1.133, allocations: 23.98 kB / 1.5 GB, free: 1.629 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: 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.0005332/1.133, allocations: 283.5 kB / 1.501 GB, free: 1.344 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.133, allocations: 87.44 kB / 1.501 GB, free: 1.258 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.136, allocations: 1.062 MB / 1.502 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.136, allocations: 15.92 kB / 1.502 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.136, allocations: 0 / 1.502 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.136, allocations: 7.969 kB / 1.502 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/1.14, allocations: 1.967 MB / 1.504 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.14, allocations: 0 / 1.504 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/1.14, allocations: 151.8 kB / 1.504 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/1.141, allocations: 72.78 kB / 1.504 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/1.141, allocations: 23.98 kB / 1.504 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/1.143, allocations: 1.674 MB / 1.505 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.143, allocations: 0 / 1.505 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/1.145, allocations: 1.002 MB / 1.506 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/1.146, allocations: 280.2 kB / 1.507 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.146, allocations: 20 kB / 1.507 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/1.147, allocations: 70.59 kB / 1.507 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.147, allocations: 68.84 kB / 1.507 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/1.147, allocations: 39.97 kB / 1.507 GB, free: 10.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007536/1.148, allocations: 471 kB / 1.507 GB, free: 10.1 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.148, allocations: 0 / 1.507 GB, free: 10.1 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001171/1.149, allocations: 323.2 kB / 1.508 GB, free: 9.781 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: 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.004591/1.154, allocations: 2.037 MB / 1.51 GB, free: 7.895 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001814/1.156, allocations: 0.7729 MB / 1.51 GB, free: 7.109 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.156, allocations: 0 / 1.51 GB, free: 7.109 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.157, allocations: 0.4884 MB / 1.511 GB, free: 6.609 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.158, allocations: 308 kB / 1.511 GB, free: 6.336 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.17, allocations: 6.276 MB / 1.517 GB, free: 15.9 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/1.17, allocations: 1.028 MB / 1.518 GB, free: 14.84 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008494/1.171, allocations: 262.7 kB / 1.519 GB, free: 14.58 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/1.172, allocations: 379.2 kB / 1.519 GB, free: 14.21 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/1.172, allocations: 3.938 kB / 1.519 GB, free: 14.21 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/1.24, allocations: 22 MB / 1.54 GB, free: 8.492 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.74, allocations: 21.86 kB / 1.54 GB, free: 8.473 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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: 21.278861097001936]