Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_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.007531/0.007531, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001765/0.001765, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.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.446/2.446, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2753, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006055/0.2814, allocations: 4.979 MB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7388/1.02, allocations: 150.8 MB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/1.021, allocations: 15.72 kB / 1.318 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007842/1.022, allocations: 195.9 kB / 1.318 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/1.024, allocations: 0.5773 MB / 1.319 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/1.026, allocations: 0.8598 MB / 1.32 GB, free: 9.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002075/1.028, allocations: 1.45 MB / 1.321 GB, free: 9.262 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/1.03, allocations: 0.5859 MB / 1.322 GB, free: 9.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/1.031, allocations: 0.5229 MB / 1.322 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.032, allocations: 0.5291 MB / 1.323 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000406/1.032, allocations: 120.3 kB / 1.323 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/1.033, allocations: 491.8 kB / 1.323 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/1.034, allocations: 310.2 kB / 1.324 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.035, allocations: 0.584 MB / 1.324 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/1.038, allocations: 1.685 MB / 1.326 GB, free: 7.727 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.038, allocations: 0.75 kB / 1.326 GB, free: 7.727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/1.038, allocations: 5.188 kB / 1.326 GB, free: 7.723 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.977e-05/1.038, allocations: 0 / 1.326 GB, free: 7.723 MB / 1.014 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.003068/1.041, allocations: 1.482 MB / 1.327 GB, free: 6.727 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.041, allocations: 10.38 kB / 1.327 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/1.041, allocations: 142.4 kB / 1.328 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/1.042, allocations: 189.7 kB / 1.328 GB, free: 6.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.043, allocations: 0.7867 MB / 1.329 GB, free: 6.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/1.043, allocations: 66.09 kB / 1.329 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/1.043, allocations: 89.31 kB / 1.329 GB, free: 5.996 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.045, allocations: 0.9629 MB / 1.33 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.045, allocations: 5.094 kB / 1.33 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/1.045, allocations: 37.62 kB / 1.33 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.045, allocations: 22.03 kB / 1.33 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/1.047, allocations: 1.16 MB / 1.331 GB, free: 5.258 MB / 1.014 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.00442/1.052, allocations: 2.859 MB / 1.334 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.053, allocations: 0.8478 MB / 1.334 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/1.054, allocations: 321.1 kB / 1.335 GB, free: 3.098 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/1.054, allocations: 37.83 kB / 1.335 GB, free: 3.086 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008876/1.055, allocations: 0.5359 MB / 1.335 GB, free: 2.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 3.356e-06/1.055, allocations: 3.938 kB / 1.335 GB, free: 2.859 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003416/1.058, allocations: 1.295 MB / 1.337 GB, free: 2.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.058, allocations: 197 kB / 1.337 GB, free: 2.098 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008804/1.059, allocations: 0.6525 MB / 1.337 GB, free: 1.809 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/1.059, allocations: 42.36 kB / 1.337 GB, free: 1.766 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/1.06, allocations: 405.5 kB / 1.338 GB, free: 1.449 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.06, allocations: 287.5 kB / 1.338 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.06, allocations: 165.4 kB / 1.338 GB, free: 1.148 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.06, allocations: 390.8 kB / 1.339 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/1.061, allocations: 267.9 kB / 1.339 GB, free: 0.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/1.061, allocations: 387.2 kB / 1.339 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.062, allocations: 0.6302 MB / 1.34 GB, free: 232 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.063, allocations: 1.125 kB / 1.34 GB, free: 232 kB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002025/1.065, allocations: 0.872 MB / 1.341 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.065, allocations: 11.28 kB / 1.341 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.065, allocations: 4.75 kB / 1.341 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/1.065, allocations: 83.39 kB / 1.341 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/1.066, allocations: 164.8 kB / 1.341 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/1.068, allocations: 1.633 MB / 1.343 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/1.069, allocations: 97.02 kB / 1.343 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/1.069, allocations: 37.95 kB / 1.343 GB, free: 14.24 MB / 1.029 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.0004911/1.069, allocations: 271.3 kB / 1.343 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.069, allocations: 85.19 kB / 1.343 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/1.072, allocations: 1.166 MB / 1.344 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.072, allocations: 13.44 kB / 1.344 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.072, allocations: 0 / 1.344 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.072, allocations: 4.406 kB / 1.344 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/1.073, allocations: 0.9403 MB / 1.345 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.073, allocations: 0 / 1.345 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.074, allocations: 155.7 kB / 1.345 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/1.074, allocations: 78.52 kB / 1.345 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/1.074, allocations: 29.67 kB / 1.345 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/1.076, allocations: 1.654 MB / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.076, allocations: 0 / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.078, allocations: 0.9928 MB / 1.348 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/1.079, allocations: 291.6 kB / 1.348 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.079, allocations: 26.56 kB / 1.348 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/1.08, allocations: 69.03 kB / 1.348 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.08, allocations: 79.34 kB / 1.348 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/1.08, allocations: 39 kB / 1.348 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006361/1.08, allocations: 482.3 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 4 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009828/1.081, allocations: 331.8 kB / 1.349 GB, free: 10.45 MB / 1.029 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.003521/1.085, allocations: 2.048 MB / 1.351 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.087, allocations: 0.8597 MB / 1.352 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.087, allocations: 9.25 kB / 1.352 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/1.088, allocations: 0.547 MB / 1.353 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.089, allocations: 308.7 kB / 1.353 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.099, allocations: 6.499 MB / 1.359 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/1.1, allocations: 1.04 MB / 1.36 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008762/1.1, allocations: 272.2 kB / 1.361 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/1.101, allocations: 411.6 kB / 1.361 GB, free: 3.832 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/1.101, allocations: 3.938 kB / 1.361 GB, free: 3.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/1.149, allocations: 22.75 MB / 1.383 GB, free: 6.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.4, allocations: 3.984 kB / 1.383 GB, free: 6.227 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches