Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.006222/0.006222, allocations: 100.6 kB / 15.73 MB, free: 5.977 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.001547/0.001547, allocations: 195.5 kB / 16.67 MB, free: 5.914 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 60.12 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00687/0.3176, allocations: 4.813 MB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7353/1.053, allocations: 150.6 MB / 1.359 GB, free: 9.473 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/1.054, allocations: 19.03 kB / 1.359 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/1.055, allocations: 189.3 kB / 1.359 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.057, allocations: 0.5365 MB / 1.36 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/1.059, allocations: 0.8426 MB / 1.361 GB, free: 8.602 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002114/1.061, allocations: 1.377 MB / 1.362 GB, free: 7.891 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.062, allocations: 0.6002 MB / 1.363 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/1.064, allocations: 481.4 kB / 1.363 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/1.065, allocations: 0.4958 MB / 1.363 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/1.065, allocations: 120.7 kB / 1.364 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/1.066, allocations: 488.2 kB / 1.364 GB, free: 6.965 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/1.067, allocations: 297.2 kB / 1.364 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.068, allocations: 0.5584 MB / 1.365 GB, free: 6.402 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/1.071, allocations: 1.648 MB / 1.366 GB, free: 5.703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.071, allocations: 0 / 1.366 GB, free: 5.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/1.071, allocations: 0 / 1.366 GB, free: 5.703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.949e-05/1.071, allocations: 1.156 kB / 1.366 GB, free: 5.703 MB / 1.061 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.003693/1.075, allocations: 1.423 MB / 1.368 GB, free: 4.734 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.075, allocations: 10.88 kB / 1.368 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002699/1.075, allocations: 137.1 kB / 1.368 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.076, allocations: 186.6 kB / 1.368 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/1.078, allocations: 0.7612 MB / 1.369 GB, free: 4.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/1.078, allocations: 63.5 kB / 1.369 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/1.078, allocations: 80.48 kB / 1.369 GB, free: 4.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.08, allocations: 0.9164 MB / 1.37 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.08, allocations: 5.281 kB / 1.37 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.08, allocations: 38.62 kB / 1.37 GB, free: 3.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.08, allocations: 19.09 kB / 1.37 GB, free: 3.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/1.082, allocations: 1.112 MB / 1.371 GB, free: 3.32 MB / 1.061 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.004928/1.087, allocations: 2.704 MB / 1.374 GB, free: 1.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.089, allocations: 0.8812 MB / 1.375 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/1.09, allocations: 307.2 kB / 1.375 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/1.09, allocations: 34.81 kB / 1.375 GB, free: 496 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/1.091, allocations: 496.9 kB / 1.375 GB, free: 176 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 3.437e-06/1.091, allocations: 0 / 1.375 GB, free: 176 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003308/1.094, allocations: 1.195 MB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.094, allocations: 193.5 kB / 1.377 GB, free: 15.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.095, allocations: 0.619 MB / 1.377 GB, free: 14.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.095, allocations: 39.17 kB / 1.377 GB, free: 14.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/1.096, allocations: 395.7 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.096, allocations: 256.6 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/1.096, allocations: 146.8 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.096, allocations: 392.3 kB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/1.097, allocations: 249.6 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/1.097, allocations: 357 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.099, allocations: 0.5827 MB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.099, allocations: 1.031 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002058/1.101, allocations: 0.7948 MB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.101, allocations: 9.688 kB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.101, allocations: 1.469 kB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/1.101, allocations: 84.05 kB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/1.102, allocations: 151.3 kB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.104, allocations: 1.655 MB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/1.105, allocations: 90.33 kB / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.105, allocations: 27.2 kB / 1.382 GB, free: 11 MB / 1.076 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.000558/1.106, allocations: 270.8 kB / 1.383 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/1.106, allocations: 78.5 kB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/1.109, allocations: 1.063 MB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.109, allocations: 9.5 kB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.109, allocations: 7.938 kB / 1.384 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.109, allocations: 8.969 kB / 1.384 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/1.113, allocations: 1.961 MB / 1.386 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.113, allocations: 1.375 kB / 1.386 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/1.113, allocations: 140 kB / 1.386 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.114, allocations: 70.33 kB / 1.386 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/1.114, allocations: 28.75 kB / 1.386 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/1.116, allocations: 1.673 MB / 1.388 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.116, allocations: 0 / 1.388 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/1.118, allocations: 0.9894 MB / 1.389 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/1.119, allocations: 276 kB / 1.389 GB, free: 6.312 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.119, allocations: 25 kB / 1.389 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/1.12, allocations: 62.67 kB / 1.389 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.12, allocations: 69.72 kB / 1.389 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/1.12, allocations: 34.83 kB / 1.389 GB, free: 6.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007008/1.121, allocations: 455.6 kB / 1.389 GB, free: 5.957 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.01e-07/1.121, allocations: 2.406 kB / 1.389 GB, free: 5.957 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001099/1.122, allocations: 322.3 kB / 1.39 GB, free: 5.859 MB / 1.076 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.003713/1.126, allocations: 2.04 MB / 1.392 GB, free: 4.574 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.127, allocations: 0.7929 MB / 1.393 GB, free: 4.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.127, allocations: 0 / 1.393 GB, free: 4.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.128, allocations: 0.5281 MB / 1.393 GB, free: 3.852 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.13, allocations: 305.2 kB / 1.393 GB, free: 3.699 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.142, allocations: 6.178 MB / 1.399 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/1.143, allocations: 1.011 MB / 1.4 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001015/1.144, allocations: 267.9 kB / 1.401 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/1.145, allocations: 377.5 kB / 1.401 GB, free: 14.63 MB / 1.092 GB Notification: Performance of SimCode: time 7.32e-07/1.145, allocations: 0 / 1.401 GB, free: 14.63 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/1.196, allocations: 21.99 MB / 1.422 GB, free: 10.35 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.91, allocations: 3.75 kB / 1.422 GB, free: 10.35 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches