Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.006858/0.006858, allocations: 101.6 kB / 15.73 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.001575/0.001574, allocations: 186.1 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006169/0.2892, allocations: 4.811 MB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8192/1.108, allocations: 150.6 MB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008445/1.109, allocations: 19.34 kB / 1.318 GB, free: 10.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/1.11, allocations: 190.6 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/1.112, allocations: 0.5479 MB / 1.319 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/1.114, allocations: 0.8402 MB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001864/1.116, allocations: 1.38 MB / 1.321 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009385/1.117, allocations: 0.5866 MB / 1.321 GB, free: 9.371 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/1.118, allocations: 497.7 kB / 1.322 GB, free: 9.266 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/1.118, allocations: 0.4967 MB / 1.322 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/1.119, allocations: 117.4 kB / 1.322 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/1.12, allocations: 484.5 kB / 1.323 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/1.12, allocations: 297.9 kB / 1.323 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/1.121, allocations: 0.5623 MB / 1.324 GB, free: 8.801 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/1.123, allocations: 1.645 MB / 1.325 GB, free: 8.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.123, allocations: 0 / 1.325 GB, free: 8.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.345e-06/1.123, allocations: 1.781 kB / 1.325 GB, free: 8.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.763e-05/1.123, allocations: 4 kB / 1.325 GB, free: 8.102 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.002905/1.126, allocations: 1.426 MB / 1.327 GB, free: 7.129 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.126, allocations: 10.38 kB / 1.327 GB, free: 7.129 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/1.126, allocations: 133.1 kB / 1.327 GB, free: 7.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/1.127, allocations: 189.8 kB / 1.327 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.128, allocations: 0.7607 MB / 1.328 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/1.129, allocations: 60.34 kB / 1.328 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.129, allocations: 82.66 kB / 1.328 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.13, allocations: 0.9227 MB / 1.329 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.13, allocations: 0 / 1.329 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/1.13, allocations: 38.42 kB / 1.329 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/1.13, allocations: 19.59 kB / 1.329 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/1.132, allocations: 1.11 MB / 1.33 GB, free: 5.719 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/1.136, allocations: 2.707 MB / 1.333 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.138, allocations: 0.8902 MB / 1.334 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/1.139, allocations: 313.1 kB / 1.334 GB, free: 3.531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/1.139, allocations: 32.36 kB / 1.334 GB, free: 3.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008527/1.14, allocations: 488 kB / 1.334 GB, free: 3.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.294e-06/1.14, allocations: 1.344 kB / 1.334 GB, free: 3.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003159/1.143, allocations: 1.194 MB / 1.335 GB, free: 2.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.143, allocations: 189.3 kB / 1.336 GB, free: 2.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/1.144, allocations: 0.626 MB / 1.336 GB, free: 2.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/1.144, allocations: 43.2 kB / 1.336 GB, free: 2.277 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.144, allocations: 394.4 kB / 1.337 GB, free: 1.969 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.144, allocations: 257.1 kB / 1.337 GB, free: 1.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.145, allocations: 144.9 kB / 1.337 GB, free: 1.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.145, allocations: 390.2 kB / 1.337 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/1.145, allocations: 245.3 kB / 1.338 GB, free: 1.266 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/1.146, allocations: 360.2 kB / 1.338 GB, free: 1.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.147, allocations: 0.586 MB / 1.339 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.147, allocations: 0 / 1.339 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001937/1.149, allocations: 0.7939 MB / 1.339 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.149, allocations: 6.25 kB / 1.339 GB, free: 492 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.149, allocations: 0 / 1.339 GB, free: 492 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/1.15, allocations: 83.62 kB / 1.339 GB, free: 472 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/1.15, allocations: 155.2 kB / 1.34 GB, free: 452 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/1.152, allocations: 1.651 MB / 1.341 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/1.153, allocations: 84.48 kB / 1.341 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/1.153, allocations: 34.38 kB / 1.341 GB, free: 14.84 MB / 1.029 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.0005342/1.154, allocations: 267.2 kB / 1.342 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.154, allocations: 84.48 kB / 1.342 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.156, allocations: 1.065 MB / 1.343 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.156, allocations: 8.969 kB / 1.343 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.156, allocations: 3.938 kB / 1.343 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.156, allocations: 4.969 kB / 1.343 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.16, allocations: 1.958 MB / 1.345 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.16, allocations: 0 / 1.345 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/1.16, allocations: 149.6 kB / 1.345 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/1.161, allocations: 67.78 kB / 1.345 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/1.161, allocations: 27.3 kB / 1.345 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.163, allocations: 1.676 MB / 1.346 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.163, allocations: 1.344 kB / 1.346 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.165, allocations: 0.9935 MB / 1.347 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/1.166, allocations: 271.4 kB / 1.348 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.166, allocations: 21.83 kB / 1.348 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/1.166, allocations: 64.12 kB / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.166, allocations: 71.28 kB / 1.348 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/1.167, allocations: 36.69 kB / 1.348 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006362/1.167, allocations: 455.2 kB / 1.348 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.167, allocations: 4 kB / 1.348 GB, free: 10.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001041/1.168, allocations: 318 kB / 1.349 GB, free: 10.6 MB / 1.029 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.003526/1.172, allocations: 2.026 MB / 1.351 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.174, allocations: 0.8011 MB / 1.351 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.174, allocations: 1.219 kB / 1.351 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/1.174, allocations: 0.5232 MB / 1.352 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.176, allocations: 316.6 kB / 1.352 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.186, allocations: 6.167 MB / 1.358 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.187, allocations: 1.019 MB / 1.359 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009276/1.188, allocations: 260.4 kB / 1.359 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/1.189, allocations: 368.1 kB / 1.36 GB, free: 4.375 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.189, allocations: 4 kB / 1.36 GB, free: 4.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/1.246, allocations: 21.59 MB / 1.381 GB, free: 8.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.3, allocations: 4 kB / 1.381 GB, free: 8.426 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches