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.005446/0.005446, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001348/0.001348, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.12 kB / 1.054 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 157.4 MB / 1.207 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007/0.3289, allocations: 4.82 MB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.821/1.15, allocations: 150.6 MB / 1.359 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008548/1.151, allocations: 15.09 kB / 1.359 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/1.152, allocations: 194.2 kB / 1.359 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/1.154, allocations: 0.539 MB / 1.36 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/1.156, allocations: 0.8377 MB / 1.361 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001778/1.158, allocations: 1.379 MB / 1.362 GB, free: 7.953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000997/1.159, allocations: 0.5897 MB / 1.362 GB, free: 7.648 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008046/1.159, allocations: 489.6 kB / 1.363 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007919/1.16, allocations: 0.4997 MB / 1.363 GB, free: 7.141 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/1.161, allocations: 121.5 kB / 1.364 GB, free: 7.137 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/1.162, allocations: 489.5 kB / 1.364 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/1.162, allocations: 294.1 kB / 1.364 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008085/1.163, allocations: 0.5648 MB / 1.365 GB, free: 6.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/1.165, allocations: 1.634 MB / 1.366 GB, free: 5.773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.165, allocations: 0 / 1.366 GB, free: 5.773 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.165, allocations: 0 / 1.366 GB, free: 5.773 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.145e-05/1.165, allocations: 0 / 1.366 GB, free: 5.773 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.00269/1.168, allocations: 1.434 MB / 1.368 GB, free: 4.797 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.168, allocations: 14.59 kB / 1.368 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/1.168, allocations: 134.6 kB / 1.368 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009347/1.169, allocations: 186.8 kB / 1.368 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/1.17, allocations: 0.7548 MB / 1.369 GB, free: 4.152 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/1.17, allocations: 66.05 kB / 1.369 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.17, allocations: 78.31 kB / 1.369 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/1.172, allocations: 0.9227 MB / 1.37 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.172, allocations: 4 kB / 1.37 GB, free: 3.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/1.172, allocations: 37.5 kB / 1.37 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/1.172, allocations: 21.69 kB / 1.37 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.174, allocations: 1.108 MB / 1.371 GB, free: 3.379 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.003799/1.178, allocations: 2.71 MB / 1.374 GB, free: 1.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.179, allocations: 0.8813 MB / 1.375 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/1.18, allocations: 305.3 kB / 1.375 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/1.18, allocations: 30.27 kB / 1.375 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008552/1.181, allocations: 0.4896 MB / 1.375 GB, free: 220 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/1.181, allocations: 0 / 1.375 GB, free: 220 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003004/1.184, allocations: 1.191 MB / 1.377 GB, free: 15.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/1.184, allocations: 194.3 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/1.184, allocations: 0.6142 MB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/1.184, allocations: 43.92 kB / 1.377 GB, free: 14.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/1.185, allocations: 396 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/1.185, allocations: 265 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.185, allocations: 146.8 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.185, allocations: 388.2 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/1.186, allocations: 246.2 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/1.186, allocations: 357.4 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/1.187, allocations: 0.5836 MB / 1.38 GB, free: 13.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.187, allocations: 4 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001885/1.189, allocations: 0.7964 MB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.189, allocations: 5.125 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.189, allocations: 1.219 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/1.19, allocations: 84.17 kB / 1.381 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.191, allocations: 154.3 kB / 1.381 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/1.193, allocations: 1.648 MB / 1.382 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/1.193, allocations: 88.64 kB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/1.193, allocations: 30.73 kB / 1.382 GB, free: 11.06 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.0004815/1.194, allocations: 274.7 kB / 1.383 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.194, allocations: 83.09 kB / 1.383 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/1.196, allocations: 1.055 MB / 1.384 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.196, allocations: 13.36 kB / 1.384 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.196, allocations: 3.938 kB / 1.384 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.196, allocations: 9.344 kB / 1.384 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.2, allocations: 1.962 MB / 1.386 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/1.2, allocations: 3.984 kB / 1.386 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/1.2, allocations: 137 kB / 1.386 GB, free: 8.852 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.201, allocations: 73.59 kB / 1.386 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/1.201, allocations: 27.94 kB / 1.386 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/1.202, allocations: 1.666 MB / 1.388 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.202, allocations: 0 / 1.388 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.204, allocations: 0.9933 MB / 1.389 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/1.205, allocations: 275.3 kB / 1.389 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.205, allocations: 21.97 kB / 1.389 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/1.206, allocations: 63.58 kB / 1.389 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.206, allocations: 69.42 kB / 1.389 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/1.206, allocations: 35.11 kB / 1.389 GB, free: 6.273 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005478/1.206, allocations: 455.8 kB / 1.389 GB, free: 6.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.206, allocations: 0 / 1.389 GB, free: 6.016 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009002/1.207, allocations: 319.4 kB / 1.39 GB, free: 5.922 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.003207/1.21, allocations: 2.046 MB / 1.392 GB, free: 4.629 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.212, allocations: 0.8005 MB / 1.392 GB, free: 4.207 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.212, allocations: 0 / 1.392 GB, free: 4.207 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/1.213, allocations: 0.5144 MB / 1.393 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.214, allocations: 309 kB / 1.393 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008943/1.223, allocations: 6.177 MB / 1.399 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.224, allocations: 1.019 MB / 1.4 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007544/1.224, allocations: 267.6 kB / 1.401 GB, free: 14.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/1.225, allocations: 369.8 kB / 1.401 GB, free: 14.68 MB / 1.092 GB Notification: Performance of SimCode: time 3.31e-07/1.225, allocations: 0 / 1.401 GB, free: 14.68 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/1.274, allocations: 21.99 MB / 1.422 GB, free: 10.42 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.38, allocations: 1.562 kB / 1.422 GB, free: 10.42 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