Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007332/0.007333, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001591/0.001591, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.3 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2922, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006768/0.299, allocations: 4.603 MB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.465, allocations: 150.7 MB / 1.24 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.4659, allocations: 15.94 kB / 1.24 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000768/0.4666, allocations: 190.3 kB / 1.24 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.4687, allocations: 0.5555 MB / 1.24 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.4708, allocations: 0.8838 MB / 1.241 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4725, allocations: 1.437 MB / 1.243 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4735, allocations: 0.7072 MB / 1.243 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.4743, allocations: 0.545 MB / 1.244 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007836/0.4751, allocations: 0.5833 MB / 1.244 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.4753, allocations: 136 kB / 1.245 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.4764, allocations: 0.5113 MB / 1.245 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.4768, allocations: 343 kB / 1.245 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.4775, allocations: 0.6257 MB / 1.246 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.4795, allocations: 1.818 MB / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4796, allocations: 0 / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4796, allocations: 0 / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.879e-05/0.4796, allocations: 0 / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00298/0.4826, allocations: 1.554 MB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.4826, allocations: 8.031 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.4836, allocations: 207.1 kB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.4848, allocations: 0.8208 MB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.4849, allocations: 74.02 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.485, allocations: 96 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.4868, allocations: 1.067 MB / 1.251 GB, free: 9.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4868, allocations: 0 / 1.251 GB, free: 9.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/0.4869, allocations: 51.98 kB / 1.252 GB, free: 9.203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.487, allocations: 24 kB / 1.252 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.489, allocations: 1.221 MB / 1.253 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.4937, allocations: 2.882 MB / 1.256 GB, free: 4.996 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.4953, allocations: 0.9016 MB / 1.256 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.4959, allocations: 335.7 kB / 1.257 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/0.496, allocations: 37.02 kB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009005/0.4969, allocations: 0.5475 MB / 1.257 GB, free: 3.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 2.334e-06/0.4969, allocations: 0 / 1.257 GB, free: 3.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.00328/0.5002, allocations: 1.344 MB / 1.259 GB, free: 1.789 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.5003, allocations: 188.9 kB / 1.259 GB, free: 1.562 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/0.5011, allocations: 0.688 MB / 1.259 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.5012, allocations: 45.69 kB / 1.26 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.5016, allocations: 444.3 kB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.5018, allocations: 291.8 kB / 1.26 GB, free: 92 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5796/1.081, allocations: 182.9 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.082, allocations: 392.5 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/1.082, allocations: 304.3 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/1.083, allocations: 408.8 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/1.085, allocations: 0.6765 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.085, allocations: 3.562 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002528/1.087, allocations: 0.9549 MB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/1.087, allocations: 5.625 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.087, allocations: 1.562 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.088, allocations: 88.17 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/1.089, allocations: 184.9 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/1.091, allocations: 1.632 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/1.091, allocations: 97.08 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.092, allocations: 46.92 kB / 1.265 GB, free: 171.6 MB / 1.014 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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.0005756/1.092, allocations: 286.6 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.092, allocations: 91.31 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/1.095, allocations: 1.236 MB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.095, allocations: 11.56 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/1.095, allocations: 0.6094 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.095, allocations: 4.828 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/1.097, allocations: 1.001 MB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.097, allocations: 0 / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/1.097, allocations: 168.7 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/1.098, allocations: 75.83 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/1.098, allocations: 35.08 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.1, allocations: 1.653 MB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.1, allocations: 1.812 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.102, allocations: 1.041 MB / 1.271 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.103, allocations: 301.8 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.103, allocations: 23.3 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/1.103, allocations: 76.75 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.104, allocations: 81.73 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/1.104, allocations: 37.39 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007331/1.105, allocations: 0.4894 MB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.105, allocations: 0 / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001267/1.106, allocations: 358.2 kB / 1.272 GB, free: 167.9 MB / 1.014 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.0016/1.107, allocations: 0.6214 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.11, allocations: 0.93 MB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.11, allocations: 1 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.111, allocations: 0.5707 MB / 1.274 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/1.112, allocations: 302.1 kB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/1.116, allocations: 1.955 MB / 1.276 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/1.117, allocations: 1.076 MB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009656/1.118, allocations: 283.5 kB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/1.118, allocations: 123.5 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/1.118, allocations: 0 / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02957/1.148, allocations: 16.54 MB / 1.294 GB, free: 161 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches