Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.007355/0.007355, allocations: 99.56 kB / 15.73 MB, free: 5.996 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.001639/0.001639, allocations: 199.2 kB / 16.68 MB, free: 5.918 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7081, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00646/0.7146, allocations: 5.362 MB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1446/0.8592, allocations: 150.8 MB / 1.36 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008707/0.8601, allocations: 15.94 kB / 1.36 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.8609, allocations: 210 kB / 1.36 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.8631, allocations: 0.6054 MB / 1.361 GB, free: 24 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.8653, allocations: 0.8865 MB / 1.361 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.8672, allocations: 1.569 MB / 1.363 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009432/0.8681, allocations: 0.6642 MB / 1.364 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.8689, allocations: 0.5723 MB / 1.364 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.8696, allocations: 0.5912 MB / 1.365 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.8698, allocations: 132 kB / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.8707, allocations: 0.5152 MB / 1.365 GB, free: 11.08 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.871, allocations: 338.9 kB / 1.366 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.8716, allocations: 0.653 MB / 1.366 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.8735, allocations: 1.857 MB / 1.368 GB, free: 8.227 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8735, allocations: 0 / 1.368 GB, free: 8.227 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8735, allocations: 3.938 kB / 1.368 GB, free: 8.223 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.8736, allocations: 0 / 1.368 GB, free: 8.223 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002683/0.8763, allocations: 1.581 MB / 1.37 GB, free: 6.582 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8763, allocations: 11.97 kB / 1.37 GB, free: 6.57 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.8765, allocations: 164.5 kB / 1.37 GB, free: 6.402 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.8774, allocations: 199.2 kB / 1.37 GB, free: 6.207 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.8786, allocations: 0.8167 MB / 1.371 GB, free: 5.344 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.8786, allocations: 77.95 kB / 1.371 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.8788, allocations: 107.9 kB / 1.371 GB, free: 5.16 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.8804, allocations: 1.063 MB / 1.372 GB, free: 4.031 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.8804, allocations: 0 / 1.372 GB, free: 4.031 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.8805, allocations: 48 kB / 1.372 GB, free: 3.984 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.8806, allocations: 24 kB / 1.372 GB, free: 3.961 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.8824, allocations: 1.221 MB / 1.373 GB, free: 2.742 MB / 1.092 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.004526/0.8869, allocations: 3.168 MB / 1.376 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.8885, allocations: 0.8859 MB / 1.377 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.889, allocations: 347.6 kB / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.8891, allocations: 37.02 kB / 1.378 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/0.89, allocations: 0.5514 MB / 1.378 GB, free: 13.6 MB / 1.107 GB Notification: Performance of pre-optimization done (n=92): time 2.785e-06/0.89, allocations: 0 / 1.378 GB, free: 13.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=92): time 0.003361/0.8934, allocations: 1.341 MB / 1.379 GB, free: 12.23 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.8936, allocations: 192.9 kB / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8946, allocations: 0.6881 MB / 1.38 GB, free: 11.3 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.8947, allocations: 41.7 kB / 1.38 GB, free: 11.26 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.8951, allocations: 448.2 kB / 1.381 GB, free: 10.81 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.8954, allocations: 295.7 kB / 1.381 GB, free: 10.52 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.8957, allocations: 170.5 kB / 1.381 GB, free: 10.35 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8959, allocations: 390.8 kB / 1.382 GB, free: 9.957 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.8964, allocations: 285.8 kB / 1.382 GB, free: 9.676 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.8971, allocations: 410.5 kB / 1.382 GB, free: 9.25 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.8983, allocations: 0.6594 MB / 1.383 GB, free: 8.582 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8983, allocations: 0 / 1.383 GB, free: 8.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002086/0.9004, allocations: 0.9072 MB / 1.384 GB, free: 7.66 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.9005, allocations: 8 kB / 1.384 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9005, allocations: 0 / 1.384 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.9011, allocations: 84.83 kB / 1.384 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.9018, allocations: 175.7 kB / 1.384 GB, free: 7.395 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.9039, allocations: 1.636 MB / 1.386 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.9047, allocations: 95.27 kB / 1.386 GB, free: 5.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.9048, allocations: 40.03 kB / 1.386 GB, free: 5.484 MB / 1.107 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0004748/0.9053, allocations: 283.4 kB / 1.386 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.9055, allocations: 90.88 kB / 1.386 GB, free: 5.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.9082, allocations: 1.234 MB / 1.387 GB, free: 3.859 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9083, allocations: 12 kB / 1.387 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9083, allocations: 3.938 kB / 1.387 GB, free: 3.844 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.9083, allocations: 3.984 kB / 1.387 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.9098, allocations: 1.017 MB / 1.388 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.9098, allocations: 0 / 1.388 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.9105, allocations: 159.8 kB / 1.389 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.911, allocations: 76.78 kB / 1.389 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.9111, allocations: 31.97 kB / 1.389 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.9131, allocations: 1.658 MB / 1.39 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9131, allocations: 0 / 1.39 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.9153, allocations: 1.045 MB / 1.391 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.9158, allocations: 299.5 kB / 1.392 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.916, allocations: 27.98 kB / 1.392 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.9167, allocations: 69.91 kB / 1.392 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.9168, allocations: 80.88 kB / 1.392 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.9169, allocations: 43.97 kB / 1.392 GB, free: 15.11 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000662/0.9176, allocations: 499 kB / 1.392 GB, free: 14.63 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9176, allocations: 0 / 1.392 GB, free: 14.63 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009691/0.9186, allocations: 371.1 kB / 1.393 GB, free: 14.27 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.003828/0.9224, allocations: 2.115 MB / 1.395 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.9243, allocations: 0.8938 MB / 1.396 GB, free: 11.39 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.9243, allocations: 4 kB / 1.396 GB, free: 11.39 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.9253, allocations: 0.5782 MB / 1.396 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9266, allocations: 318.9 kB / 1.396 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.9379, allocations: 6.811 MB / 1.403 GB, free: 3.547 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.9387, allocations: 1.075 MB / 1.404 GB, free: 2.441 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009036/0.9396, allocations: 303.5 kB / 1.404 GB, free: 2.141 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.9402, allocations: 443.2 kB / 1.405 GB, free: 1.707 MB / 1.123 GB Notification: Performance of SimCode: time 6.21e-07/0.9402, allocations: 0 / 1.405 GB, free: 1.707 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.9956, allocations: 24.58 MB / 1.429 GB, free: 9.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.43, allocations: 4.047 kB / 1.429 GB, free: 9.516 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches