Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001558/0.001558, allocations: 110 kB / 16.41 MB, free: 6.5 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.001603/0.001603, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8747, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006991/0.8817, allocations: 4.473 MB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2005/1.082, allocations: 150.8 MB / 1.24 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/1.084, allocations: 20.47 kB / 1.24 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008962/1.085, allocations: 175.9 kB / 1.24 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/1.087, allocations: 0.5342 MB / 1.241 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/1.09, allocations: 0.8297 MB / 1.242 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002377/1.093, allocations: 1.379 MB / 1.243 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/1.094, allocations: 0.6225 MB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/1.095, allocations: 0.5072 MB / 1.244 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/1.096, allocations: 0.5228 MB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/1.097, allocations: 123.9 kB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/1.098, allocations: 493.1 kB / 1.245 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004924/1.099, allocations: 311 kB / 1.246 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009226/1.1, allocations: 0.5635 MB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/1.102, allocations: 1.653 MB / 1.248 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.102, allocations: 0 / 1.248 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/1.102, allocations: 0 / 1.248 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-05/1.103, allocations: 4 kB / 1.248 GB, free: 10.75 MB / 0.9825 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.003934/1.106, allocations: 1.468 MB / 1.249 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.107, allocations: 12.03 kB / 1.249 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.108, allocations: 187.3 kB / 1.249 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.109, allocations: 0.7857 MB / 1.25 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/1.109, allocations: 66 kB / 1.25 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.109, allocations: 88 kB / 1.25 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/1.111, allocations: 0.9652 MB / 1.251 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/1.111, allocations: 3.984 kB / 1.251 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/1.111, allocations: 36 kB / 1.251 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.111, allocations: 20 kB / 1.251 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/1.113, allocations: 1.155 MB / 1.252 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004796/1.118, allocations: 2.648 MB / 1.255 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/1.12, allocations: 0.8485 MB / 1.256 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/1.12, allocations: 318.7 kB / 1.256 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/1.12, allocations: 40.67 kB / 1.256 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/1.121, allocations: 0.5276 MB / 1.257 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 3.887e-06/1.121, allocations: 4 kB / 1.257 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003414/1.125, allocations: 1.282 MB / 1.258 GB, free: 48 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.125, allocations: 200.8 kB / 1.258 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.126, allocations: 0.6489 MB / 1.259 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/1.126, allocations: 45.7 kB / 1.259 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/1.126, allocations: 408.4 kB / 1.259 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.127, allocations: 283.9 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/1.127, allocations: 182.4 kB / 1.26 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.127, allocations: 390.7 kB / 1.26 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/1.128, allocations: 293.8 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/1.128, allocations: 395 kB / 1.261 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.13, allocations: 0.6516 MB / 1.261 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.13, allocations: 4 kB / 1.261 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002197/1.132, allocations: 0.9152 MB / 1.262 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.132, allocations: 11.94 kB / 1.262 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.132, allocations: 0 / 1.262 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/1.133, allocations: 80.84 kB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/1.133, allocations: 179.8 kB / 1.262 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.136, allocations: 1.623 MB / 1.264 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/1.136, allocations: 107.2 kB / 1.264 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/1.136, allocations: 43.91 kB / 1.264 GB, free: 9.371 MB / 0.9981 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.0005223/1.137, allocations: 271.8 kB / 1.264 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/1.137, allocations: 90.89 kB / 1.265 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/1.14, allocations: 1.163 MB / 1.266 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.14, allocations: 12 kB / 1.266 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.14, allocations: 3.984 kB / 1.266 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.14, allocations: 3.984 kB / 1.266 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.141, allocations: 0.9355 MB / 1.267 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.141, allocations: 0 / 1.267 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/1.142, allocations: 155.8 kB / 1.267 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/1.143, allocations: 68.78 kB / 1.267 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/1.143, allocations: 31.92 kB / 1.267 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.145, allocations: 1.658 MB / 1.268 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.145, allocations: 0 / 1.268 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.147, allocations: 1.002 MB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/1.147, allocations: 283.6 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/1.148, allocations: 27.94 kB / 1.27 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/1.148, allocations: 67.86 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.149, allocations: 76.89 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/1.149, allocations: 39.97 kB / 1.27 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007309/1.149, allocations: 479 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.149, allocations: 4 kB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00107/1.15, allocations: 327.2 kB / 1.271 GB, free: 2.445 MB / 0.9981 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.001719/1.152, allocations: 0.607 MB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.154, allocations: 0.9016 MB / 1.272 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.154, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.155, allocations: 0.5354 MB / 1.273 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.157, allocations: 301.7 kB / 1.273 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/1.161, allocations: 1.863 MB / 1.275 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/1.162, allocations: 1.043 MB / 1.276 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/1.162, allocations: 131.4 kB / 1.276 GB, free: 13.18 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.162, allocations: 0 / 1.276 GB, free: 13.18 MB / 1.014 GB Notification: Performance of Templates: time 0.0278/1.19, allocations: 19.28 MB / 1.295 GB, free: 9.949 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches