Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.005075/0.005075, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001143/0.001143, allocations: 197.8 kB / 16.68 MB, free: 5.965 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.292/1.292, 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 11.0.1-master/package.mo): time 2.502/2.502, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.09 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7203, allocations: 157.4 MB / 1.207 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007661/0.728, allocations: 6.911 MB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1455/0.8735, allocations: 151.3 MB / 1.362 GB, free: 14.87 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.8747, allocations: 23.94 kB / 1.362 GB, free: 14.85 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009688/0.8757, allocations: 257.4 kB / 1.362 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.8786, allocations: 0.7992 MB / 1.363 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.8812, allocations: 0.9922 MB / 1.364 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.8843, allocations: 2.152 MB / 1.366 GB, free: 10.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.8861, allocations: 1.018 MB / 1.367 GB, free: 9.582 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.8875, allocations: 0.8487 MB / 1.368 GB, free: 8.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.8889, allocations: 0.9025 MB / 1.369 GB, free: 7.824 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005544/0.8895, allocations: 212 kB / 1.369 GB, free: 7.617 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.8915, allocations: 0.566 MB / 1.369 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.8926, allocations: 490.4 kB / 1.37 GB, free: 6.57 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.8949, allocations: 0.9524 MB / 1.371 GB, free: 5.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.8998, allocations: 2.566 MB / 1.373 GB, free: 3.039 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.8999, allocations: 0 / 1.373 GB, free: 3.039 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8999, allocations: 3.938 kB / 1.373 GB, free: 3.035 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001429/0.9, allocations: 0 / 1.373 GB, free: 3.035 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005265/0.9053, allocations: 2.062 MB / 1.375 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9054, allocations: 8.031 kB / 1.375 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003721/0.9058, allocations: 220.1 kB / 1.375 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.9069, allocations: 270.4 kB / 1.376 GB, free: 416 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.9087, allocations: 0.9964 MB / 1.377 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.9088, allocations: 119.1 kB / 1.377 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.909, allocations: 148 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.9118, allocations: 1.58 MB / 1.378 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.9119, allocations: 0 / 1.378 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.912, allocations: 60 kB / 1.379 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.9121, allocations: 40 kB / 1.379 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.9147, allocations: 1.643 MB / 1.38 GB, free: 11.72 MB / 1.107 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.007386/0.9221, allocations: 4.516 MB / 1.385 GB, free: 7.027 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.9242, allocations: 1.19 MB / 1.386 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008134/0.9251, allocations: 483.7 kB / 1.386 GB, free: 5.363 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.9252, allocations: 45.08 kB / 1.386 GB, free: 5.316 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.9265, allocations: 0.7783 MB / 1.387 GB, free: 4.52 MB / 1.107 GB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/0.9266, allocations: 0 / 1.387 GB, free: 4.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=128): time 0.004357/0.9309, allocations: 1.85 MB / 1.389 GB, free: 2.645 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.931, allocations: 205.2 kB / 1.389 GB, free: 2.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.9323, allocations: 0.8654 MB / 1.39 GB, free: 1.512 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.9324, allocations: 53.7 kB / 1.39 GB, free: 1.453 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.9329, allocations: 0.6053 MB / 1.39 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.9333, allocations: 406.1 kB / 1.391 GB, free: 444 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/0.9337, allocations: 246.7 kB / 1.391 GB, free: 188 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9338, allocations: 345.9 kB / 1.391 GB, free: 15.84 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/0.9347, allocations: 438.4 kB / 1.392 GB, free: 15.41 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009295/0.9356, allocations: 0.5565 MB / 1.392 GB, free: 14.83 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.9373, allocations: 0.9623 MB / 1.393 GB, free: 13.86 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9373, allocations: 4 kB / 1.393 GB, free: 13.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002793/0.9401, allocations: 1.293 MB / 1.395 GB, free: 12.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.9401, allocations: 4 kB / 1.395 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.9402, allocations: 0 / 1.395 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.9407, allocations: 92.77 kB / 1.395 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.9418, allocations: 255.7 kB / 1.395 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.9439, allocations: 1.65 MB / 1.397 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.945, allocations: 149 kB / 1.397 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.9452, allocations: 51.95 kB / 1.397 GB, free: 10.21 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0007293/0.9459, allocations: 340.2 kB / 1.397 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.9463, allocations: 122.5 kB / 1.397 GB, free: 9.754 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.95, allocations: 1.71 MB / 1.399 GB, free: 8.031 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.95, allocations: 12 kB / 1.399 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.95, allocations: 0 / 1.399 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.95, allocations: 7.969 kB / 1.399 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.9519, allocations: 1.412 MB / 1.4 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.9519, allocations: 0 / 1.4 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.9529, allocations: 219.6 kB / 1.4 GB, free: 6.332 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.9533, allocations: 76.78 kB / 1.401 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.9535, allocations: 43.97 kB / 1.401 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.9553, allocations: 1.666 MB / 1.402 GB, free: 4.398 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9553, allocations: 0 / 1.402 GB, free: 4.398 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.9584, allocations: 1.41 MB / 1.404 GB, free: 2.969 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.9591, allocations: 375 kB / 1.404 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.9594, allocations: 39.84 kB / 1.404 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.9605, allocations: 87.91 kB / 1.404 GB, free: 2.457 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.9607, allocations: 113.3 kB / 1.404 GB, free: 2.344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.9608, allocations: 55.95 kB / 1.404 GB, free: 2.289 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001019/0.9619, allocations: 0.6464 MB / 1.405 GB, free: 1.633 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9619, allocations: 0 / 1.405 GB, free: 1.633 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001359/0.9632, allocations: 482.6 kB / 1.405 GB, free: 1.16 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004492/0.9678, allocations: 2.486 MB / 1.408 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.9703, allocations: 1.248 MB / 1.409 GB, free: 13.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.9703, allocations: 0 / 1.409 GB, free: 13.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.9717, allocations: 0.7401 MB / 1.41 GB, free: 12.81 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.9735, allocations: 360.8 kB / 1.41 GB, free: 12.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.9896, allocations: 9.279 MB / 1.419 GB, free: 3.051 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.9905, allocations: 1.229 MB / 1.42 GB, free: 1.789 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001231/0.9918, allocations: 330.1 kB / 1.421 GB, free: 1.465 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000973/0.9928, allocations: 0.6358 MB / 1.421 GB, free: 0.832 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/0.9928, allocations: 0 / 1.421 GB, free: 0.832 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/1.057, allocations: 31.83 MB / 1.452 GB, free: 1.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.61, allocations: 18.19 kB / 1.452 GB, free: 1.352 MB / 1.17 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches