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.001126/0.001125, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001098/0.001098, allocations: 183 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9057, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005874/0.9116, allocations: 4.622 MB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1941/1.106, allocations: 150.7 MB / 1.24 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/1.107, allocations: 18.91 kB / 1.24 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006855/1.108, allocations: 189.2 kB / 1.24 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/1.11, allocations: 0.5529 MB / 1.241 GB, free: 28 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.113, allocations: 0.8757 MB / 1.242 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001878/1.115, allocations: 1.436 MB / 1.243 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.116, allocations: 0.7171 MB / 1.244 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008599/1.116, allocations: 0.5434 MB / 1.245 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/1.117, allocations: 0.5757 MB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/1.117, allocations: 136.2 kB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.118, allocations: 0.5184 MB / 1.246 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/1.119, allocations: 338.9 kB / 1.246 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/1.119, allocations: 0.6257 MB / 1.247 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/1.121, allocations: 1.82 MB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.121, allocations: 4 kB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/1.121, allocations: 0 / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.542e-05/1.121, allocations: 0 / 1.248 GB, free: 10.05 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002656/1.124, allocations: 1.556 MB / 1.25 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/1.124, allocations: 8.031 kB / 1.25 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009218/1.125, allocations: 211.1 kB / 1.25 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.126, allocations: 0.8169 MB / 1.251 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/1.126, allocations: 77.95 kB / 1.251 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.126, allocations: 96 kB / 1.251 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.128, allocations: 1.067 MB / 1.252 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.128, allocations: 0 / 1.252 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.128, allocations: 44 kB / 1.252 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.128, allocations: 24 kB / 1.252 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/1.13, allocations: 1.225 MB / 1.253 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/1.135, allocations: 2.878 MB / 1.256 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.136, allocations: 0.8977 MB / 1.257 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/1.137, allocations: 343.6 kB / 1.257 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/1.137, allocations: 33.02 kB / 1.257 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009434/1.138, allocations: 0.5475 MB / 1.258 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 2.344e-06/1.138, allocations: 4 kB / 1.258 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.00329/1.141, allocations: 1.333 MB / 1.259 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.141, allocations: 192.9 kB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/1.142, allocations: 0.688 MB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/1.142, allocations: 45.64 kB / 1.26 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/1.143, allocations: 448.2 kB / 1.261 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.143, allocations: 291.8 kB / 1.261 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/1.143, allocations: 182.5 kB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.143, allocations: 398.7 kB / 1.261 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/1.144, allocations: 309.8 kB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/1.144, allocations: 407 kB / 1.262 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.146, allocations: 0.6828 MB / 1.263 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.146, allocations: 0 / 1.263 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0021/1.148, allocations: 0.9502 MB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.148, allocations: 4 kB / 1.264 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.148, allocations: 4 kB / 1.264 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/1.148, allocations: 84.83 kB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/1.149, allocations: 183.7 kB / 1.264 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.151, allocations: 1.642 MB / 1.266 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/1.152, allocations: 101.7 kB / 1.266 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/1.152, allocations: 44.03 kB / 1.266 GB, free: 7.746 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,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.0004901/1.153, allocations: 279.9 kB / 1.266 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/1.153, allocations: 90.88 kB / 1.266 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/1.156, allocations: 1.227 MB / 1.267 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.156, allocations: 12 kB / 1.267 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.156, allocations: 0 / 1.267 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.156, allocations: 7.969 kB / 1.267 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.157, allocations: 1.009 MB / 1.268 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.157, allocations: 4 kB / 1.268 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/1.157, allocations: 167.7 kB / 1.268 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/1.158, allocations: 72.8 kB / 1.269 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/1.158, allocations: 31.97 kB / 1.269 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.16, allocations: 1.658 MB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.16, allocations: 0 / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/1.162, allocations: 1.041 MB / 1.271 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.162, allocations: 299.5 kB / 1.271 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.162, allocations: 23.98 kB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/1.163, allocations: 71.94 kB / 1.272 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.163, allocations: 80.88 kB / 1.272 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/1.163, allocations: 43.97 kB / 1.272 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005909/1.164, allocations: 495 kB / 1.272 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.164, allocations: 0 / 1.272 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009167/1.165, allocations: 359.1 kB / 1.273 GB, free: 0.5508 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,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.00142/1.166, allocations: 0.6355 MB / 1.273 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.168, allocations: 0.9288 MB / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.168, allocations: 192 / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/1.169, allocations: 0.5743 MB / 1.275 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.17, allocations: 298.5 kB / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/1.174, allocations: 1.999 MB / 1.277 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/1.175, allocations: 1.075 MB / 1.278 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.175, allocations: 131.4 kB / 1.278 GB, free: 11.02 MB / 1.014 GB Notification: Performance of SimCode: time 6.72e-07/1.175, allocations: 0 / 1.278 GB, free: 11.02 MB / 1.014 GB Notification: Performance of Templates: time 0.02569/1.201, allocations: 20.72 MB / 1.298 GB, free: 6.363 MB / 1.029 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/jenkins1/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