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.001044/0.001044, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009789/0.009789, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.421/2.421, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7655, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004607/0.7701, allocations: 4.197 MB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.9485, allocations: 146.8 MB / 1.103 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.9493, allocations: 15.88 kB / 1.103 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.9501, allocations: 146.9 kB / 1.103 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.9522, allocations: 470.4 kB / 1.103 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.9548, allocations: 0.7641 MB / 1.104 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.9569, allocations: 1.335 MB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.9583, allocations: 0.6782 MB / 1.106 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.9591, allocations: 390 kB / 1.106 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.9598, allocations: 429.6 kB / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.96, allocations: 32 kB / 1.107 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.9611, allocations: 395.6 kB / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.9614, allocations: 203 kB / 1.107 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006497/0.9621, allocations: 0.5062 MB / 1.108 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.9645, allocations: 1.658 MB / 1.109 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9645, allocations: 3.938 kB / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9645, allocations: 0 / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.9645, allocations: 0 / 1.109 GB, free: 0.7539 MB / 0.8575 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.003514/0.9681, allocations: 1.313 MB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9681, allocations: 8.031 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.9696, allocations: 215.2 kB / 1.111 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.9713, allocations: 0.8051 MB / 1.112 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.9714, allocations: 74.02 kB / 1.112 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.9717, allocations: 100 kB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.9745, allocations: 1.071 MB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.9745, allocations: 0 / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.9747, allocations: 47.94 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.9747, allocations: 24 kB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.9771, allocations: 1.233 MB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/0.9817, allocations: 2.953 MB / 1.117 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.9833, allocations: 0.8909 MB / 1.118 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.9839, allocations: 351.7 kB / 1.118 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.984, allocations: 37 kB / 1.118 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.985, allocations: 0.5545 MB / 1.119 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.636e-06/0.985, allocations: 7.984 kB / 1.119 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.00334/0.9884, allocations: 1.348 MB / 1.12 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9885, allocations: 192.9 kB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.9894, allocations: 0.688 MB / 1.121 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/0.9895, allocations: 41.7 kB / 1.121 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.9898, allocations: 444.3 kB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.9901, allocations: 295.7 kB / 1.122 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.9902, allocations: 85.67 kB / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9904, allocations: 386.8 kB / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.991, allocations: 309.8 kB / 1.122 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.9917, allocations: 407.1 kB / 1.123 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.9929, allocations: 0.6944 MB / 1.123 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.993, allocations: 3.938 kB / 1.123 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002133/0.9951, allocations: 0.9619 MB / 1.124 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.9951, allocations: 8 kB / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9951, allocations: 0 / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.9958, allocations: 84.77 kB / 1.125 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.9966, allocations: 183.8 kB / 1.125 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.9988, allocations: 1.52 MB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.9997, allocations: 119.2 kB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.9998, allocations: 43.97 kB / 1.126 GB, free: 14.78 MB / 0.8887 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.0005049/1, allocations: 290.1 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1, allocations: 94.88 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/1.003, allocations: 1.234 MB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.003, allocations: 12 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.003, allocations: 4 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.003, allocations: 3.984 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.004, allocations: 1.001 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.004, allocations: 3.984 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/1.005, allocations: 167.7 kB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/1.006, allocations: 88.7 kB / 1.129 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/1.006, allocations: 35.97 kB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.008, allocations: 1.544 MB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.008, allocations: 0 / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/1.01, allocations: 1.053 MB / 1.132 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/1.01, allocations: 315.4 kB / 1.132 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.011, allocations: 16 kB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/1.011, allocations: 87.92 kB / 1.132 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.011, allocations: 92.75 kB / 1.132 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/1.012, allocations: 39.98 kB / 1.132 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006711/1.012, allocations: 0.4951 MB / 1.133 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.012, allocations: 0 / 1.133 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009303/1.013, allocations: 363 kB / 1.133 GB, free: 7.609 MB / 0.8887 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.001426/1.015, allocations: 0.6217 MB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.017, allocations: 0.9327 MB / 1.135 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.017, allocations: 4.188 kB / 1.135 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.018, allocations: 0.5705 MB / 1.135 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.019, allocations: 279.7 kB / 1.135 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/1.023, allocations: 2.517 MB / 1.138 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/1.024, allocations: 1.077 MB / 1.139 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009129/1.025, allocations: 279.4 kB / 1.139 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/1.025, allocations: 119.4 kB / 1.139 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of SimCode: time 8.61e-07/1.025, allocations: 0 / 1.139 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of Templates: time 0.02646/1.052, allocations: 15.57 MB / 1.155 GB, free: 1.922 MB / 0.9044 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