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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009317/0.009316, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001882/0.001882, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.525/1.525, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7137, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005508/0.7193, allocations: 4.615 MB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.8912, allocations: 148.4 MB / 1.099 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.8927, allocations: 19.88 kB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.8937, allocations: 134.9 kB / 1.099 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.8965, allocations: 481.2 kB / 1.1 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.8993, allocations: 0.7592 MB / 1.1 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.9015, allocations: 1.347 MB / 1.102 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.9026, allocations: 0.6938 MB / 1.102 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008803/0.9035, allocations: 478 kB / 1.103 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.9041, allocations: 0.5326 MB / 1.103 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.9043, allocations: 68 kB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.9054, allocations: 443.6 kB / 1.104 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.9057, allocations: 270.9 kB / 1.104 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.9063, allocations: 0.5593 MB / 1.105 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9079, allocations: 1.341 MB / 1.106 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.9079, allocations: 4 kB / 1.106 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9079, allocations: 0 / 1.106 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.9079, allocations: 0 / 1.106 GB, free: 1.41 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.003136/0.9111, allocations: 1.558 MB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9111, allocations: 8.031 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009923/0.9121, allocations: 195.2 kB / 1.108 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.9133, allocations: 0.7973 MB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.9134, allocations: 78 kB / 1.109 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.9135, allocations: 104 kB / 1.109 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.9154, allocations: 1.067 MB / 1.11 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.9154, allocations: 0 / 1.11 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.9155, allocations: 44 kB / 1.11 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.9156, allocations: 24 kB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.9175, allocations: 1.221 MB / 1.111 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/0.9224, allocations: 2.93 MB / 1.114 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.924, allocations: 0.8875 MB / 1.115 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.9246, allocations: 335.7 kB / 1.115 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.9247, allocations: 40.95 kB / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.9258, allocations: 0.5514 MB / 1.116 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.995e-06/0.9258, allocations: 0 / 1.116 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003597/0.9294, allocations: 1.337 MB / 1.117 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.9295, allocations: 196.9 kB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/0.9305, allocations: 0.6802 MB / 1.118 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.9306, allocations: 45.7 kB / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.9309, allocations: 440.4 kB / 1.118 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.9312, allocations: 299.7 kB / 1.118 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.9315, allocations: 186.4 kB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.9317, allocations: 394.7 kB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.9323, allocations: 301.8 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.9331, allocations: 407 kB / 1.12 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.9344, allocations: 0.6905 MB / 1.12 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9344, allocations: 0 / 1.12 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002335/0.9368, allocations: 0.9463 MB / 1.121 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9368, allocations: 8 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9368, allocations: 0 / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.9375, allocations: 88.83 kB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.9382, allocations: 187.8 kB / 1.122 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.9405, allocations: 1.522 MB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.9414, allocations: 107 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9415, allocations: 43.95 kB / 1.123 GB, free: 15.21 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.0005829/0.9421, allocations: 287.9 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.9423, allocations: 90.88 kB / 1.124 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.9453, allocations: 1.231 MB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.9453, allocations: 8 kB / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9453, allocations: 0 / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.9453, allocations: 7.969 kB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.9467, allocations: 1.005 MB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9468, allocations: 0 / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.9475, allocations: 175.7 kB / 1.126 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.948, allocations: 84.72 kB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.9481, allocations: 27.97 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.9501, allocations: 1.548 MB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9501, allocations: 0 / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.9524, allocations: 1.045 MB / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.9529, allocations: 295.5 kB / 1.129 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.9531, allocations: 24 kB / 1.129 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.9538, allocations: 71.92 kB / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.954, allocations: 80.81 kB / 1.129 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.9541, allocations: 39.98 kB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000788/0.9549, allocations: 499 kB / 1.129 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9549, allocations: 0 / 1.129 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001133/0.956, allocations: 363.1 kB / 1.13 GB, free: 8.109 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.001715/0.9578, allocations: 0.6366 MB / 1.13 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.9598, allocations: 0.921 MB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9598, allocations: 4.188 kB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.9609, allocations: 0.5665 MB / 1.132 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.9622, allocations: 274.5 kB / 1.132 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.9672, allocations: 2.499 MB / 1.135 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/0.968, allocations: 1.075 MB / 1.136 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.9684, allocations: 135.4 kB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of SimCode: time 2.405e-06/0.9685, allocations: 0 / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Templates: time 0.0293/0.9978, allocations: 20.6 MB / 1.156 GB, free: 13.57 MB / 0.92 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