Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.00832/0.00832, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.002025/0.002025, allocations: 186.1 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.84 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7468, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006608/0.7535, allocations: 4.968 MB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.9088, allocations: 150.8 MB / 1.359 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.9098, allocations: 15.88 kB / 1.359 GB, free: 1.148 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.9106, allocations: 194.2 kB / 1.36 GB, free: 0.957 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.9127, allocations: 0.582 MB / 1.36 GB, free: 384 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.9147, allocations: 0.8406 MB / 1.361 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.9167, allocations: 1.456 MB / 1.362 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.9178, allocations: 0.5871 MB / 1.363 GB, free: 13.47 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.9187, allocations: 0.5139 MB / 1.363 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.9198, allocations: 0.5329 MB / 1.364 GB, free: 12.42 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.9202, allocations: 120 kB / 1.364 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.9215, allocations: 495.5 kB / 1.365 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.922, allocations: 307 kB / 1.365 GB, free: 11.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008359/0.9228, allocations: 0.5946 MB / 1.365 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.9253, allocations: 1.686 MB / 1.367 GB, free: 9.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9253, allocations: 0 / 1.367 GB, free: 9.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9253, allocations: 0 / 1.367 GB, free: 9.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.682e-05/0.9254, allocations: 0 / 1.367 GB, free: 9.23 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003272/0.9287, allocations: 1.487 MB / 1.369 GB, free: 7.684 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9287, allocations: 8.031 kB / 1.369 GB, free: 7.676 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.9289, allocations: 143.7 kB / 1.369 GB, free: 7.527 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.93, allocations: 195.4 kB / 1.369 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.9314, allocations: 0.7778 MB / 1.37 GB, free: 6.516 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.9315, allocations: 69.98 kB / 1.37 GB, free: 6.449 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.9316, allocations: 84 kB / 1.37 GB, free: 6.367 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.9333, allocations: 0.9651 MB / 1.371 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.9334, allocations: 4 kB / 1.371 GB, free: 5.355 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.9335, allocations: 39.98 kB / 1.371 GB, free: 5.316 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.9335, allocations: 24 kB / 1.371 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.9353, allocations: 1.155 MB / 1.372 GB, free: 4.141 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.00435/0.9397, allocations: 2.853 MB / 1.375 GB, free: 1.168 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.9412, allocations: 0.8492 MB / 1.376 GB, free: 328 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.9417, allocations: 322.7 kB / 1.376 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.9418, allocations: 32.64 kB / 1.376 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008754/0.9427, allocations: 0.5393 MB / 1.376 GB, free: 15.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.9427, allocations: 0 / 1.376 GB, free: 15.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003275/0.946, allocations: 1.302 MB / 1.378 GB, free: 14.08 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.9461, allocations: 192.9 kB / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.9469, allocations: 0.6528 MB / 1.378 GB, free: 13.19 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.947, allocations: 45.7 kB / 1.379 GB, free: 13.14 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.9473, allocations: 408.4 kB / 1.379 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.9475, allocations: 283.9 kB / 1.379 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.9478, allocations: 158.5 kB / 1.379 GB, free: 12.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.948, allocations: 394.7 kB / 1.38 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.9485, allocations: 269.9 kB / 1.38 GB, free: 11.63 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.9491, allocations: 386.5 kB / 1.38 GB, free: 11.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.9502, allocations: 0.6359 MB / 1.381 GB, free: 10.58 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9502, allocations: 0 / 1.381 GB, free: 10.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001966/0.9522, allocations: 0.8683 MB / 1.382 GB, free: 9.703 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9522, allocations: 7.938 kB / 1.382 GB, free: 9.695 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9522, allocations: 4 kB / 1.382 GB, free: 9.691 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.9528, allocations: 80.83 kB / 1.382 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.9536, allocations: 171.8 kB / 1.382 GB, free: 9.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.9557, allocations: 1.63 MB / 1.384 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.9564, allocations: 104.8 kB / 1.384 GB, free: 7.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.9565, allocations: 31.97 kB / 1.384 GB, free: 7.531 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,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 (97): * Single equations (assignments): 96 * 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.0004067/0.9569, allocations: 269.8 kB / 1.384 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.9571, allocations: 82.97 kB / 1.384 GB, free: 7.176 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.9596, allocations: 1.164 MB / 1.385 GB, free: 5.992 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.9596, allocations: 11.98 kB / 1.385 GB, free: 5.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9597, allocations: 0 / 1.385 GB, free: 5.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9597, allocations: 7.969 kB / 1.385 GB, free: 5.973 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.9607, allocations: 0.9463 MB / 1.386 GB, free: 4.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9608, allocations: 4 kB / 1.386 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.9614, allocations: 155.7 kB / 1.386 GB, free: 4.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.9619, allocations: 72.72 kB / 1.386 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.9619, allocations: 31.98 kB / 1.386 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.9638, allocations: 1.65 MB / 1.388 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9638, allocations: 0 / 1.388 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.9659, allocations: 1.002 MB / 1.389 GB, free: 1.898 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.9663, allocations: 283.6 kB / 1.389 GB, free: 1.602 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.9664, allocations: 23.92 kB / 1.389 GB, free: 1.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.9671, allocations: 63.94 kB / 1.389 GB, free: 1.516 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.9673, allocations: 76.89 kB / 1.389 GB, free: 1.438 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.9674, allocations: 39.97 kB / 1.39 GB, free: 1.398 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005884/0.968, allocations: 483 kB / 1.39 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.2e-07/0.968, allocations: 4 kB / 1.39 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008298/0.9688, allocations: 335.2 kB / 1.39 GB, free: 0.6016 MB / 1.107 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.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 (100): * Single equations (assignments): 93 * 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.003496/0.9723, allocations: 2.05 MB / 1.392 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.974, allocations: 0.8625 MB / 1.393 GB, free: 13.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.974, allocations: 4 kB / 1.393 GB, free: 13.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.975, allocations: 0.555 MB / 1.394 GB, free: 13.26 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.9761, allocations: 299.8 kB / 1.394 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.9865, allocations: 6.488 MB / 1.4 GB, free: 6.34 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.9871, allocations: 1.044 MB / 1.401 GB, free: 5.266 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008218/0.9879, allocations: 275.1 kB / 1.402 GB, free: 4.992 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/0.9885, allocations: 403.3 kB / 1.402 GB, free: 4.598 MB / 1.123 GB Notification: Performance of SimCode: time 8.91e-07/0.9885, allocations: 0 / 1.402 GB, free: 4.598 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/1.04, allocations: 23.21 MB / 1.425 GB, free: 13.75 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.44, allocations: 13.27 kB / 1.425 GB, free: 13.73 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches