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.0011/0.0011, 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.001022/0.001022, 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.332/1.332, 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 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.83 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9073, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006522/0.9139, allocations: 4.461 MB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2118/1.126, allocations: 150.7 MB / 1.24 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/1.127, allocations: 23.84 kB / 1.24 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009715/1.128, allocations: 179.7 kB / 1.24 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/1.131, allocations: 0.5401 MB / 1.241 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/1.134, allocations: 0.8355 MB / 1.242 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002398/1.137, allocations: 1.38 MB / 1.243 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/1.138, allocations: 0.6269 MB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/1.139, allocations: 0.4989 MB / 1.244 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/1.14, allocations: 0.52 MB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004033/1.141, allocations: 120.7 kB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/1.142, allocations: 499.2 kB / 1.245 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004923/1.143, allocations: 314.9 kB / 1.246 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.144, allocations: 0.5634 MB / 1.246 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/1.147, allocations: 1.649 MB / 1.248 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.147, allocations: 4 kB / 1.248 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/1.147, allocations: 0 / 1.248 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.888e-05/1.147, allocations: 0 / 1.248 GB, free: 10.79 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.003392/1.15, allocations: 1.472 MB / 1.249 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.15, allocations: 8.031 kB / 1.249 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.151, allocations: 187.3 kB / 1.249 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.153, allocations: 0.7935 MB / 1.25 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/1.153, allocations: 70 kB / 1.25 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.153, allocations: 84 kB / 1.25 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.155, allocations: 0.9652 MB / 1.251 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.155, allocations: 0 / 1.251 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/1.155, allocations: 43.98 kB / 1.251 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.155, allocations: 20 kB / 1.251 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.157, allocations: 1.159 MB / 1.252 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/1.161, allocations: 2.636 MB / 1.255 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/1.163, allocations: 0.8407 MB / 1.256 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.164, allocations: 326.6 kB / 1.256 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.665e-05/1.164, allocations: 36.67 kB / 1.256 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/1.165, allocations: 0.5276 MB / 1.257 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.475e-06/1.165, allocations: 0 / 1.257 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003396/1.168, allocations: 1.29 MB / 1.258 GB, free: 92 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.168, allocations: 192.9 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/1.169, allocations: 0.6528 MB / 1.259 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/1.169, allocations: 41.7 kB / 1.259 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/1.17, allocations: 408.4 kB / 1.259 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/1.17, allocations: 283.9 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/1.17, allocations: 186.4 kB / 1.26 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.17, allocations: 390.8 kB / 1.26 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/1.171, allocations: 285.8 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/1.172, allocations: 391.1 kB / 1.261 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.173, allocations: 0.6594 MB / 1.261 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.173, allocations: 0 / 1.261 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002132/1.175, allocations: 0.9152 MB / 1.262 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.175, allocations: 7.938 kB / 1.262 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.175, allocations: 4 kB / 1.262 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/1.176, allocations: 88.77 kB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/1.176, allocations: 179.7 kB / 1.262 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.179, allocations: 1.627 MB / 1.264 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/1.179, allocations: 106 kB / 1.264 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/1.179, allocations: 43.91 kB / 1.264 GB, free: 9.418 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.0005454/1.18, allocations: 276.4 kB / 1.264 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.18, allocations: 86.97 kB / 1.265 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/1.183, allocations: 1.167 MB / 1.266 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.183, allocations: 12 kB / 1.266 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.183, allocations: 0 / 1.266 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.183, allocations: 7.969 kB / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.184, allocations: 0.9316 MB / 1.267 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.184, allocations: 0 / 1.267 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.185, allocations: 155.8 kB / 1.267 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/1.185, allocations: 72.78 kB / 1.267 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/1.185, allocations: 35.92 kB / 1.267 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.187, allocations: 1.654 MB / 1.268 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.187, allocations: 4.031 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/1.189, allocations: 0.998 MB / 1.269 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/1.19, allocations: 279.6 kB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.19, allocations: 28.08 kB / 1.27 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/1.191, allocations: 75.84 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.191, allocations: 76.89 kB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/1.191, allocations: 39.97 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006159/1.192, allocations: 475 kB / 1.27 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.192, allocations: 0 / 1.27 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008962/1.193, allocations: 323.3 kB / 1.271 GB, free: 2.496 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.00142/1.194, allocations: 0.6199 MB / 1.271 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.196, allocations: 0.8898 MB / 1.272 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.196, allocations: 0 / 1.272 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/1.197, allocations: 0.5434 MB / 1.273 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.198, allocations: 296.4 kB / 1.273 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.202, allocations: 1.871 MB / 1.275 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/1.203, allocations: 1.039 MB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/1.203, allocations: 123.4 kB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of SimCode: time 1.483e-06/1.203, allocations: 0 / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of Templates: time 0.02713/1.231, allocations: 19.28 MB / 1.295 GB, free: 10 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