Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.005308/0.005308, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001212/0.001213, allocations: 193.5 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.597/1.597, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.314/2.314, allocations: 437 MB / 0.7105 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.753, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005758/0.7588, allocations: 4.937 MB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.9071, allocations: 150.6 MB / 1.318 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.9082, allocations: 15.94 kB / 1.318 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.909, allocations: 190.2 kB / 1.318 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.9112, allocations: 0.5678 MB / 1.319 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.9134, allocations: 0.8535 MB / 1.32 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.9152, allocations: 1.429 MB / 1.321 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009898/0.9162, allocations: 0.5832 MB / 1.322 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.917, allocations: 0.5022 MB / 1.322 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.9178, allocations: 0.5173 MB / 1.323 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.9181, allocations: 120 kB / 1.323 GB, free: 2.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.9192, allocations: 483.6 kB / 1.323 GB, free: 2.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.9195, allocations: 310.9 kB / 1.323 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007445/0.9203, allocations: 0.5713 MB / 1.324 GB, free: 1.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.9221, allocations: 1.674 MB / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9222, allocations: 0 / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9222, allocations: 0 / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.9222, allocations: 4 kB / 1.326 GB, free: 15.75 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002262/0.9245, allocations: 1.455 MB / 1.327 GB, free: 14.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9245, allocations: 12.62 kB / 1.327 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.9247, allocations: 139.5 kB / 1.327 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008329/0.9255, allocations: 191.3 kB / 1.327 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.9265, allocations: 0.7779 MB / 1.328 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.9266, allocations: 69.88 kB / 1.328 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.9267, allocations: 84 kB / 1.328 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.9281, allocations: 0.9457 MB / 1.329 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.9281, allocations: 0 / 1.329 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.9282, allocations: 32 kB / 1.329 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.9282, allocations: 20 kB / 1.329 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.9298, allocations: 1.132 MB / 1.33 GB, free: 10.75 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.003432/0.9332, allocations: 2.724 MB / 1.333 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.9346, allocations: 0.9071 MB / 1.334 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.9351, allocations: 311.6 kB / 1.334 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-05/0.9352, allocations: 36.67 kB / 1.334 GB, free: 6.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.936, allocations: 0.5197 MB / 1.335 GB, free: 6.109 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 3.286e-06/0.9361, allocations: 3.984 kB / 1.335 GB, free: 6.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=84): time 0.002999/0.9391, allocations: 1.251 MB / 1.336 GB, free: 4.828 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.9392, allocations: 188.9 kB / 1.336 GB, free: 4.598 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.9398, allocations: 0.6411 MB / 1.337 GB, free: 3.945 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.9399, allocations: 41.7 kB / 1.337 GB, free: 3.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.9402, allocations: 404.4 kB / 1.337 GB, free: 3.496 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.9404, allocations: 272.1 kB / 1.338 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.9406, allocations: 158.5 kB / 1.338 GB, free: 3.066 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9407, allocations: 386.8 kB / 1.338 GB, free: 2.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.9412, allocations: 257.9 kB / 1.338 GB, free: 2.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.9418, allocations: 362.5 kB / 1.339 GB, free: 2.047 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.9428, allocations: 0.6086 MB / 1.339 GB, free: 1.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9428, allocations: 0 / 1.339 GB, free: 1.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00171/0.9445, allocations: 0.833 MB / 1.34 GB, free: 0.582 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9445, allocations: 11.94 kB / 1.34 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9445, allocations: 4.094 kB / 1.34 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.9451, allocations: 76.78 kB / 1.34 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.9457, allocations: 167.6 kB / 1.34 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.9476, allocations: 1.627 MB / 1.342 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.9483, allocations: 91.23 kB / 1.342 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.9483, allocations: 31.97 kB / 1.342 GB, free: 14.43 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: 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,decAng.tNext,$PRE.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 (91): * Single equations (assignments): 90 * 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.0003707/0.9487, allocations: 270.4 kB / 1.342 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.9489, allocations: 82.97 kB / 1.342 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.9511, allocations: 1.14 MB / 1.343 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9511, allocations: 8 kB / 1.343 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.9511, allocations: 0 / 1.343 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.9512, allocations: 3.984 kB / 1.343 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.9541, allocations: 2.021 MB / 1.345 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.9541, allocations: 0 / 1.345 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.9547, allocations: 155.8 kB / 1.346 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.9551, allocations: 76.73 kB / 1.346 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.9551, allocations: 27.97 kB / 1.346 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.9568, allocations: 1.662 MB / 1.347 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9568, allocations: 0 / 1.347 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.9587, allocations: 1.045 MB / 1.348 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.9591, allocations: 283.7 kB / 1.349 GB, free: 7.398 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.9592, allocations: 23.98 kB / 1.349 GB, free: 7.375 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.9598, allocations: 67.94 kB / 1.349 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.96, allocations: 76.88 kB / 1.349 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.96, allocations: 39.92 kB / 1.349 GB, free: 7.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005146/0.9605, allocations: 463 kB / 1.349 GB, free: 6.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9606, allocations: 4 kB / 1.349 GB, free: 6.746 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008237/0.9614, allocations: 323.2 kB / 1.35 GB, free: 6.43 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * 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.003286/0.9647, allocations: 2.103 MB / 1.352 GB, free: 4.469 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.9663, allocations: 0.8392 MB / 1.352 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9663, allocations: 0 / 1.352 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.9671, allocations: 0.5392 MB / 1.353 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9682, allocations: 316.5 kB / 1.353 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009161/0.9774, allocations: 6.37 MB / 1.359 GB, free: 12.26 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.9779, allocations: 1.039 MB / 1.36 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007297/0.9787, allocations: 262.9 kB / 1.361 GB, free: 10.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.9792, allocations: 403.3 kB / 1.361 GB, free: 10.53 MB / 1.092 GB Notification: Performance of SimCode: time 4.11e-07/0.9792, allocations: 4 kB / 1.361 GB, free: 10.53 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/1.029, allocations: 22.23 MB / 1.383 GB, free: 4.535 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.3, allocations: 15.88 kB / 1.383 GB, free: 4.523 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches