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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_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_latest_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.001602/0.001602, allocations: 104.8 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.001796/0.001796, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.287/1.287, allocations: 222.9 MB / 241 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.524/2.524, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.9253, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007241/0.9326, allocations: 4.98 MB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1747/1.107, allocations: 150.8 MB / 1.361 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.109, allocations: 19.88 kB / 1.361 GB, free: 1.258 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006751/1.109, allocations: 194.2 kB / 1.361 GB, free: 1.066 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/1.112, allocations: 0.5775 MB / 1.361 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/1.114, allocations: 0.8511 MB / 1.362 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001852/1.116, allocations: 1.456 MB / 1.364 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/1.117, allocations: 0.591 MB / 1.364 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/1.117, allocations: 0.5138 MB / 1.365 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/1.118, allocations: 0.5329 MB / 1.365 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/1.118, allocations: 123.9 kB / 1.365 GB, free: 12.4 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00099/1.119, allocations: 491.6 kB / 1.366 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/1.12, allocations: 314.9 kB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/1.12, allocations: 0.5752 MB / 1.367 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/1.122, allocations: 1.68 MB / 1.368 GB, free: 9.352 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.122, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/1.122, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.122, allocations: 4 kB / 1.368 GB, free: 9.348 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.002566/1.125, allocations: 1.479 MB / 1.37 GB, free: 7.809 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.125, allocations: 8.031 kB / 1.37 GB, free: 7.801 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/1.126, allocations: 195.3 kB / 1.37 GB, free: 7.609 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/1.127, allocations: 0.7818 MB / 1.371 GB, free: 6.785 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/1.127, allocations: 69.98 kB / 1.371 GB, free: 6.719 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.127, allocations: 88 kB / 1.371 GB, free: 6.633 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.129, allocations: 0.9613 MB / 1.372 GB, free: 5.629 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.129, allocations: 0 / 1.372 GB, free: 5.629 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/1.129, allocations: 40 kB / 1.372 GB, free: 5.59 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/1.129, allocations: 23.98 kB / 1.372 GB, free: 5.566 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.13, allocations: 1.159 MB / 1.373 GB, free: 4.41 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.004158/1.135, allocations: 2.853 MB / 1.376 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.136, allocations: 0.8526 MB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/1.137, allocations: 326.6 kB / 1.377 GB, free: 268 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/1.137, allocations: 36.67 kB / 1.377 GB, free: 232 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/1.138, allocations: 0.5275 MB / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.424e-06/1.138, allocations: 0 / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.00336/1.141, allocations: 1.298 MB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.141, allocations: 200.8 kB / 1.379 GB, free: 14.12 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.142, allocations: 0.6488 MB / 1.379 GB, free: 13.46 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.143, allocations: 49.69 kB / 1.38 GB, free: 13.41 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/1.143, allocations: 400.4 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/1.143, allocations: 284 kB / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/1.144, allocations: 178.5 kB / 1.38 GB, free: 12.55 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002239/1.144, allocations: 390.8 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/1.144, allocations: 289.8 kB / 1.381 GB, free: 11.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/1.145, allocations: 391.1 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.146, allocations: 0.6594 MB / 1.382 GB, free: 10.8 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.146, allocations: 0 / 1.382 GB, free: 10.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002074/1.148, allocations: 0.919 MB / 1.383 GB, free: 9.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.148, allocations: 11.92 kB / 1.383 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.148, allocations: 0 / 1.383 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.149, allocations: 80.84 kB / 1.383 GB, free: 9.781 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/1.15, allocations: 191.7 kB / 1.383 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/1.152, allocations: 1.63 MB / 1.385 GB, free: 7.816 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/1.153, allocations: 103.3 kB / 1.385 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/1.153, allocations: 43.91 kB / 1.385 GB, free: 7.672 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: 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.0005442/1.154, allocations: 271.8 kB / 1.385 GB, free: 7.398 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.154, allocations: 90.95 kB / 1.385 GB, free: 7.309 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.157, allocations: 1.16 MB / 1.386 GB, free: 6.133 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.157, allocations: 8 kB / 1.386 GB, free: 6.125 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.157, allocations: 3.984 kB / 1.386 GB, free: 6.121 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.157, allocations: 3.984 kB / 1.386 GB, free: 6.117 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.158, allocations: 0.9308 MB / 1.387 GB, free: 5.137 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.158, allocations: 0 / 1.387 GB, free: 5.137 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/1.159, allocations: 155.8 kB / 1.387 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/1.159, allocations: 80.77 kB / 1.388 GB, free: 4.902 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/1.159, allocations: 31.86 kB / 1.388 GB, free: 4.871 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.161, allocations: 1.662 MB / 1.389 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.161, allocations: 4.031 kB / 1.389 GB, free: 3.059 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.164, allocations: 0.9902 MB / 1.39 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/1.164, allocations: 279.7 kB / 1.39 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.164, allocations: 20 kB / 1.39 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/1.165, allocations: 75.86 kB / 1.391 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.165, allocations: 76.89 kB / 1.391 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/1.165, allocations: 35.97 kB / 1.391 GB, free: 1.547 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006252/1.166, allocations: 479 kB / 1.391 GB, free: 1.086 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.166, allocations: 0 / 1.391 GB, free: 1.086 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009332/1.167, allocations: 347.1 kB / 1.391 GB, free: 0.7461 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.001529/1.168, allocations: 0.6033 MB / 1.392 GB, free: 328 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.17, allocations: 0.8936 MB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.17, allocations: 4.188 kB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.171, allocations: 0.5432 MB / 1.393 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.173, allocations: 310.2 kB / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/1.176, allocations: 1.762 MB / 1.395 GB, free: 12.78 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/1.177, allocations: 1.04 MB / 1.396 GB, free: 11.71 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/1.177, allocations: 131.4 kB / 1.397 GB, free: 11.58 MB / 1.123 GB Notification: Performance of SimCode: time 3.3e-07/1.177, allocations: 0 / 1.397 GB, free: 11.58 MB / 1.123 GB Notification: Performance of Templates: time 0.029/1.206, allocations: 19.43 MB / 1.416 GB, free: 8.203 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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