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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 104.5 kB / 16.41 MB, free: 6.508 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.001169/0.00117, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.347/1.347, allocations: 222.9 MB / 241 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.426/2.426, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 63.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.8591, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006659/0.8658, allocations: 4.986 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.16/1.026, allocations: 150.8 MB / 1.319 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/1.027, allocations: 15.94 kB / 1.319 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/1.028, allocations: 190.2 kB / 1.32 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/1.03, allocations: 0.5831 MB / 1.32 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/1.032, allocations: 0.853 MB / 1.321 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001642/1.033, allocations: 1.456 MB / 1.322 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/1.034, allocations: 0.5871 MB / 1.323 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007529/1.035, allocations: 0.5138 MB / 1.324 GB, free: 3.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/1.035, allocations: 0.5367 MB / 1.324 GB, free: 2.676 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/1.036, allocations: 124 kB / 1.324 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/1.037, allocations: 487.6 kB / 1.325 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/1.037, allocations: 311 kB / 1.325 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004823/1.037, allocations: 0.583 MB / 1.325 GB, free: 1.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/1.039, allocations: 1.688 MB / 1.327 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.039, allocations: 0 / 1.327 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.016e-06/1.039, allocations: 4 kB / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.039, allocations: 0 / 1.327 GB, free: 15.49 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002736/1.042, allocations: 1.479 MB / 1.329 GB, free: 13.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.042, allocations: 8.031 kB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/1.043, allocations: 195.3 kB / 1.329 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.044, allocations: 0.7741 MB / 1.33 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/1.044, allocations: 66 kB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.044, allocations: 88 kB / 1.33 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.046, allocations: 0.9652 MB / 1.331 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.046, allocations: 3.938 kB / 1.331 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/1.046, allocations: 40 kB / 1.331 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.046, allocations: 20 kB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/1.048, allocations: 1.159 MB / 1.332 GB, free: 10.57 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.004238/1.052, allocations: 2.849 MB / 1.335 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/1.054, allocations: 0.8495 MB / 1.335 GB, free: 6.754 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/1.054, allocations: 326.7 kB / 1.336 GB, free: 6.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/1.054, allocations: 32.69 kB / 1.336 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/1.055, allocations: 0.5329 MB / 1.336 GB, free: 5.852 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.975e-06/1.055, allocations: 8 kB / 1.336 GB, free: 5.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003363/1.059, allocations: 1.294 MB / 1.338 GB, free: 4.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.059, allocations: 196.9 kB / 1.338 GB, free: 4.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/1.059, allocations: 0.6566 MB / 1.338 GB, free: 3.617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/1.06, allocations: 41.7 kB / 1.338 GB, free: 3.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/1.06, allocations: 412.4 kB / 1.339 GB, free: 3.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/1.06, allocations: 276 kB / 1.339 GB, free: 2.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/1.06, allocations: 182.5 kB / 1.339 GB, free: 2.703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.061, allocations: 390.7 kB / 1.34 GB, free: 2.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/1.061, allocations: 289.8 kB / 1.34 GB, free: 2.027 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/1.062, allocations: 399 kB / 1.34 GB, free: 1.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.063, allocations: 0.6555 MB / 1.341 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.063, allocations: 0 / 1.341 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002031/1.065, allocations: 0.9229 MB / 1.342 GB, free: 24 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.065, allocations: 7.938 kB / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/1.065, allocations: 0 / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/1.066, allocations: 88.91 kB / 1.342 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/1.066, allocations: 175.7 kB / 1.342 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.069, allocations: 1.637 MB / 1.344 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/1.07, allocations: 103.3 kB / 1.344 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.07, allocations: 43.91 kB / 1.344 GB, free: 13.82 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (105): * Single equations (assignments): 104 * 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.0005528/1.07, allocations: 272.3 kB / 1.344 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/1.07, allocations: 86.97 kB / 1.344 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.073, allocations: 1.167 MB / 1.345 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.073, allocations: 12 kB / 1.345 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.073, allocations: 0 / 1.345 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.073, allocations: 7.984 kB / 1.345 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/1.074, allocations: 0.9346 MB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.074, allocations: 0 / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/1.075, allocations: 159.7 kB / 1.346 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/1.076, allocations: 68.8 kB / 1.346 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/1.076, allocations: 35.91 kB / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.078, allocations: 1.666 MB / 1.348 GB, free: 9.211 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.078, allocations: 0 / 1.348 GB, free: 9.211 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/1.08, allocations: 0.9902 MB / 1.349 GB, free: 8.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/1.08, allocations: 279.7 kB / 1.349 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/1.08, allocations: 24 kB / 1.349 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/1.081, allocations: 74.52 kB / 1.349 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.081, allocations: 76.89 kB / 1.35 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/1.081, allocations: 39.97 kB / 1.35 GB, free: 7.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006772/1.082, allocations: 475 kB / 1.35 GB, free: 7.234 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.472e-06/1.082, allocations: 0 / 1.35 GB, free: 7.234 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009919/1.083, allocations: 343.1 kB / 1.35 GB, free: 6.898 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.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.001523/1.085, allocations: 0.6028 MB / 1.351 GB, free: 6.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001907/1.087, allocations: 0.8935 MB / 1.352 GB, free: 5.551 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.087, allocations: 0 / 1.352 GB, free: 5.551 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.088, allocations: 0.5473 MB / 1.352 GB, free: 4.992 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.089, allocations: 309.9 kB / 1.353 GB, free: 4.715 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/1.093, allocations: 1.765 MB / 1.354 GB, free: 2.918 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/1.094, allocations: 1.04 MB / 1.355 GB, free: 1.844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.094, allocations: 123.4 kB / 1.355 GB, free: 1.723 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/1.094, allocations: 0 / 1.355 GB, free: 1.723 MB / 1.076 GB Notification: Performance of Templates: time 0.02879/1.123, allocations: 19.44 MB / 1.374 GB, free: 14.31 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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