Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.0009333/0.0009333, allocations: 187 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.195/1.195, 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.298/2.298, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 68.11 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.627, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006804/0.6338, allocations: 6.913 MB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.7685, allocations: 151.3 MB / 1.363 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009928/0.7695, allocations: 19.94 kB / 1.363 GB, free: 14.79 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.7703, allocations: 261.4 kB / 1.363 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.7726, allocations: 0.7953 MB / 1.364 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.7746, allocations: 0.9923 MB / 1.365 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.7768, allocations: 2.148 MB / 1.367 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.7781, allocations: 1.03 MB / 1.368 GB, free: 9.512 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.7791, allocations: 0.8448 MB / 1.369 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.78, allocations: 0.9103 MB / 1.37 GB, free: 7.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.7802, allocations: 208 kB / 1.37 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000874/0.7811, allocations: 0.5582 MB / 1.37 GB, free: 6.988 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.7814, allocations: 490.4 kB / 1.371 GB, free: 6.508 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.7821, allocations: 0.9486 MB / 1.372 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.7841, allocations: 2.572 MB / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7842, allocations: 0 / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7842, allocations: 0 / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.7842, allocations: 0 / 1.374 GB, free: 2.977 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003296/0.7875, allocations: 2.062 MB / 1.376 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.7875, allocations: 12.03 kB / 1.376 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.7885, allocations: 254.6 kB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7897, allocations: 0.9929 MB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.7898, allocations: 115.1 kB / 1.378 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.79, allocations: 148 kB / 1.378 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.7923, allocations: 1.584 MB / 1.379 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.7923, allocations: 0 / 1.379 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.7924, allocations: 60 kB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.7925, allocations: 40 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.7948, allocations: 1.635 MB / 1.381 GB, free: 11.91 MB / 1.107 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.005692/0.8005, allocations: 4.52 MB / 1.385 GB, free: 7.211 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.8025, allocations: 1.196 MB / 1.387 GB, free: 6.016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.8032, allocations: 479.7 kB / 1.387 GB, free: 5.547 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.126e-05/0.8033, allocations: 52.98 kB / 1.387 GB, free: 5.492 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.8044, allocations: 0.7743 MB / 1.388 GB, free: 4.699 MB / 1.107 GB Notification: Performance of pre-optimization done (n=128): time 2.374e-06/0.8045, allocations: 0 / 1.388 GB, free: 4.699 MB / 1.107 GB Notification: Performance of matching and sorting (n=128): time 0.004011/0.8085, allocations: 1.85 MB / 1.39 GB, free: 2.824 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.8086, allocations: 201.2 kB / 1.39 GB, free: 2.586 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.8096, allocations: 0.8654 MB / 1.391 GB, free: 1.695 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/0.8097, allocations: 49.7 kB / 1.391 GB, free: 1.641 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.8101, allocations: 0.6092 MB / 1.391 GB, free: 1.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.8104, allocations: 406.1 kB / 1.392 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.8107, allocations: 258.7 kB / 1.392 GB, free: 364 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8108, allocations: 353.9 kB / 1.392 GB, free: 4 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.8116, allocations: 454.4 kB / 1.393 GB, free: 15.56 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.8125, allocations: 0.561 MB / 1.393 GB, free: 14.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.8141, allocations: 0.9896 MB / 1.394 GB, free: 13.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8142, allocations: 0 / 1.394 GB, free: 13.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002585/0.8168, allocations: 1.344 MB / 1.396 GB, free: 12.63 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8168, allocations: 11.94 kB / 1.396 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.8168, allocations: 4.062 kB / 1.396 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.8174, allocations: 88.77 kB / 1.396 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.8185, allocations: 263.6 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.8204, allocations: 1.646 MB / 1.398 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8215, allocations: 154.8 kB / 1.398 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.8216, allocations: 55.95 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0005828/0.8222, allocations: 349.5 kB / 1.398 GB, free: 9.922 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.8224, allocations: 118.6 kB / 1.398 GB, free: 9.805 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.8257, allocations: 1.705 MB / 1.4 GB, free: 8.086 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.8257, allocations: 16 kB / 1.4 GB, free: 8.07 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8257, allocations: 4 kB / 1.4 GB, free: 8.066 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.8257, allocations: 7.969 kB / 1.4 GB, free: 8.059 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.8272, allocations: 1.4 MB / 1.401 GB, free: 6.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.8272, allocations: 4 kB / 1.401 GB, free: 6.602 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.828, allocations: 215.7 kB / 1.402 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.8285, allocations: 76.8 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.8286, allocations: 39.95 kB / 1.402 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.8303, allocations: 1.666 MB / 1.403 GB, free: 4.461 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8303, allocations: 3.984 kB / 1.403 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.833, allocations: 1.41 MB / 1.405 GB, free: 3.027 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.8335, allocations: 367.2 kB / 1.405 GB, free: 2.648 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.8338, allocations: 43.83 kB / 1.405 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.8347, allocations: 83.91 kB / 1.405 GB, free: 2.523 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.8349, allocations: 113.1 kB / 1.405 GB, free: 2.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/0.835, allocations: 59.95 kB / 1.405 GB, free: 2.352 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007647/0.8357, allocations: 0.6425 MB / 1.406 GB, free: 1.699 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8358, allocations: 0 / 1.406 GB, free: 1.699 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001046/0.8368, allocations: 494.6 kB / 1.406 GB, free: 1.215 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001297/0.8381, allocations: 0.6328 MB / 1.407 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.8403, allocations: 1.271 MB / 1.408 GB, free: 15.48 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8404, allocations: 8.125 kB / 1.408 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.8415, allocations: 0.7324 MB / 1.409 GB, free: 14.73 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.8429, allocations: 356.4 kB / 1.409 GB, free: 14.4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.8466, allocations: 2.6 MB / 1.412 GB, free: 11.76 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.8472, allocations: 1.232 MB / 1.413 GB, free: 10.5 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.8477, allocations: 183.3 kB / 1.413 GB, free: 10.32 MB / 1.139 GB Notification: Performance of SimCode: time 5.21e-07/0.8477, allocations: 0 / 1.413 GB, free: 10.32 MB / 1.139 GB Notification: Performance of Templates: time 0.03007/0.8778, allocations: 27.99 MB / 1.441 GB, free: 14.42 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches