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.001291/0.001291, allocations: 107.3 kB / 16.41 MB, free: 6.453 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.001306/0.001306, allocations: 192 kB / 17.34 MB, free: 5.715 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 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.665/2.665, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8613, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.01079/0.8722, allocations: 4.984 MB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2362/1.108, allocations: 150.8 MB / 1.319 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/1.11, allocations: 19.88 kB / 1.319 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000829/1.11, allocations: 194.2 kB / 1.32 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/1.113, allocations: 0.5782 MB / 1.32 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/1.116, allocations: 0.8496 MB / 1.321 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002548/1.119, allocations: 1.464 MB / 1.322 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/1.12, allocations: 0.5803 MB / 1.323 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/1.121, allocations: 0.5216 MB / 1.324 GB, free: 3.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008621/1.122, allocations: 0.5251 MB / 1.324 GB, free: 2.684 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/1.122, allocations: 120 kB / 1.324 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/1.124, allocations: 495.5 kB / 1.325 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/1.124, allocations: 307 kB / 1.325 GB, free: 1.781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/1.125, allocations: 0.5868 MB / 1.326 GB, free: 1.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/1.128, allocations: 1.692 MB / 1.327 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.128, allocations: 4 kB / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.455e-06/1.128, allocations: 0 / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.614e-05/1.128, 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.00409/1.132, allocations: 1.509 MB / 1.329 GB, free: 13.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.132, allocations: 8.031 kB / 1.329 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.134, allocations: 200 kB / 1.329 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.135, allocations: 0.7864 MB / 1.33 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.136, allocations: 70 kB / 1.33 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/1.136, allocations: 84 kB / 1.33 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/1.138, allocations: 0.9768 MB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.139, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.139, allocations: 39.94 kB / 1.331 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/1.139, allocations: 20 kB / 1.331 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/1.142, allocations: 1.159 MB / 1.332 GB, free: 10.51 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.00717/1.149, allocations: 2.878 MB / 1.335 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/1.151, allocations: 0.8399 MB / 1.336 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/1.152, allocations: 322.7 kB / 1.336 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/1.152, allocations: 36.67 kB / 1.336 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009886/1.153, allocations: 0.5332 MB / 1.336 GB, free: 5.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.574e-06/1.153, allocations: 0 / 1.336 GB, free: 5.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003572/1.157, allocations: 1.302 MB / 1.338 GB, free: 4.445 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.157, allocations: 192.9 kB / 1.338 GB, free: 4.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/1.158, allocations: 0.6528 MB / 1.338 GB, free: 3.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/1.158, allocations: 41.7 kB / 1.339 GB, free: 3.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/1.158, allocations: 413.2 kB / 1.339 GB, free: 3.094 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/1.158, allocations: 297.4 kB / 1.339 GB, free: 2.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/1.159, allocations: 186.6 kB / 1.339 GB, free: 2.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002314/1.159, allocations: 390.7 kB / 1.34 GB, free: 2.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/1.16, allocations: 289.8 kB / 1.34 GB, free: 1.938 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/1.16, allocations: 395 kB / 1.34 GB, free: 1.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.162, allocations: 0.6555 MB / 1.341 GB, free: 0.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.162, allocations: 0 / 1.341 GB, free: 0.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002249/1.164, allocations: 0.9273 MB / 1.342 GB, free: 15.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.164, allocations: 7.938 kB / 1.342 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.164, allocations: 4 kB / 1.342 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/1.165, allocations: 84.86 kB / 1.342 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/1.165, allocations: 175.7 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/1.168, allocations: 1.639 MB / 1.344 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/1.169, allocations: 102.2 kB / 1.344 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/1.169, allocations: 51.89 kB / 1.344 GB, free: 13.73 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.0005579/1.17, allocations: 272.2 kB / 1.344 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.17, allocations: 87.44 kB / 1.344 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/1.173, allocations: 1.172 MB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.173, allocations: 12 kB / 1.345 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.173, allocations: 0 / 1.345 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.173, allocations: 3.984 kB / 1.345 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.174, allocations: 0.9425 MB / 1.346 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.174, allocations: 0 / 1.346 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/1.174, allocations: 155.8 kB / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/1.175, allocations: 72.8 kB / 1.347 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.59e-05/1.175, allocations: 31.91 kB / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/1.178, allocations: 1.662 MB / 1.348 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.178, allocations: 3.938 kB / 1.348 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/1.18, allocations: 0.9947 MB / 1.349 GB, free: 8.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/1.181, allocations: 284.1 kB / 1.349 GB, free: 7.793 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.181, allocations: 27.95 kB / 1.35 GB, free: 7.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/1.181, allocations: 71.86 kB / 1.35 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.182, allocations: 80.83 kB / 1.35 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/1.182, allocations: 39.97 kB / 1.35 GB, free: 7.578 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008145/1.183, allocations: 475 kB / 1.35 GB, free: 7.117 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.183, allocations: 3.938 kB / 1.35 GB, free: 7.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001192/1.184, allocations: 343.2 kB / 1.35 GB, free: 6.777 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.002272/1.186, allocations: 0.6155 MB / 1.351 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.188, allocations: 0.886 MB / 1.352 GB, free: 5.426 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.188, allocations: 4 kB / 1.352 GB, free: 5.422 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.189, allocations: 0.547 MB / 1.352 GB, free: 4.863 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.191, allocations: 302.6 kB / 1.353 GB, free: 4.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/1.194, allocations: 1.757 MB / 1.355 GB, free: 2.809 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/1.195, allocations: 1.04 MB / 1.356 GB, free: 1.734 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008897/1.196, allocations: 275.1 kB / 1.356 GB, free: 1.461 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/1.196, allocations: 111.4 kB / 1.356 GB, free: 1.352 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/1.196, allocations: 0 / 1.356 GB, free: 1.352 MB / 1.076 GB Notification: Performance of Templates: time 0.03345/1.23, allocations: 16.14 MB / 1.372 GB, free: 1.348 MB / 1.092 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 -s cvode -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