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.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.413/2.413, allocations: 390.2 MB / 0.6643 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6973, allocations: 140.3 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007257/0.7046, allocations: 4.62 MB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.8708, allocations: 148.5 MB / 1.099 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.8721, allocations: 15.94 kB / 1.099 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.8728, allocations: 142.8 kB / 1.099 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.875, allocations: 498.2 kB / 1.099 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.8772, allocations: 0.7895 MB / 1.1 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.8789, allocations: 1.441 MB / 1.101 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.8799, allocations: 0.7106 MB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.8806, allocations: 0.5371 MB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.8813, allocations: 0.5727 MB / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.8815, allocations: 136 kB / 1.103 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.8825, allocations: 0.4996 MB / 1.104 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.8828, allocations: 334.9 kB / 1.104 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.8835, allocations: 0.6295 MB / 1.105 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.8855, allocations: 1.776 MB / 1.106 GB, free: 276 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8855, allocations: 0 / 1.106 GB, free: 276 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8855, allocations: 0 / 1.106 GB, free: 276 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.8855, allocations: 0 / 1.106 GB, free: 276 kB / 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.002776/0.8883, allocations: 1.562 MB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8884, allocations: 12.03 kB / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.8893, allocations: 195.2 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.8904, allocations: 0.7934 MB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.8905, allocations: 82 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.8906, allocations: 100 kB / 1.109 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.8924, allocations: 1.063 MB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.8925, allocations: 4 kB / 1.11 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.8926, allocations: 40 kB / 1.11 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.8926, allocations: 24 kB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.8945, allocations: 1.221 MB / 1.111 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.8991, allocations: 2.925 MB / 1.114 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.9007, allocations: 0.886 MB / 1.115 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.9013, allocations: 339.7 kB / 1.115 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.9014, allocations: 40.95 kB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009963/0.9024, allocations: 0.5474 MB / 1.116 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.314e-06/0.9024, allocations: 4 kB / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.00336/0.9058, allocations: 1.333 MB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.9059, allocations: 196.9 kB / 1.118 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.9067, allocations: 0.6802 MB / 1.118 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/0.9068, allocations: 49.7 kB / 1.118 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.9072, allocations: 436.4 kB / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.9074, allocations: 303.7 kB / 1.119 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.9077, allocations: 186.4 kB / 1.119 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9079, allocations: 394.7 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.9085, allocations: 305.8 kB / 1.12 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.9092, allocations: 411 kB / 1.12 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.9105, allocations: 0.6827 MB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9105, allocations: 0 / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002215/0.9127, allocations: 0.958 MB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9127, allocations: 4 kB / 1.122 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9127, allocations: 0 / 1.122 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.9134, allocations: 88.81 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.9141, allocations: 187.7 kB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.9163, allocations: 1.625 MB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.9171, allocations: 109.4 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.9172, allocations: 43.97 kB / 1.124 GB, free: 13.95 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.00046/0.9177, allocations: 288 kB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.9179, allocations: 90.88 kB / 1.124 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.9207, allocations: 1.227 MB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.9207, allocations: 8 kB / 1.125 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.9207, allocations: 0 / 1.125 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.9207, allocations: 7.984 kB / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.9219, allocations: 1.005 MB / 1.126 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9219, allocations: 4 kB / 1.126 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.9226, allocations: 175.7 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/0.9231, allocations: 76.7 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.9231, allocations: 31.98 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.9251, allocations: 1.662 MB / 1.128 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9251, allocations: 0 / 1.128 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.9273, allocations: 1.041 MB / 1.129 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.9276, allocations: 299.5 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.9278, allocations: 24.06 kB / 1.13 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.9285, allocations: 67.92 kB / 1.13 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.9287, allocations: 80.89 kB / 1.13 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.9288, allocations: 43.97 kB / 1.13 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006088/0.9294, allocations: 499 kB / 1.13 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9294, allocations: 4 kB / 1.13 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009639/0.9304, allocations: 355.1 kB / 1.131 GB, free: 6.738 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.001441/0.9318, allocations: 0.6317 MB / 1.131 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.9346, allocations: 1.159 MB / 1.132 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9346, allocations: 0 / 1.132 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.9357, allocations: 0.5745 MB / 1.133 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.9369, allocations: 310.7 kB / 1.133 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.9413, allocations: 2.448 MB / 1.136 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.942, allocations: 1.071 MB / 1.137 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001012/0.943, allocations: 287.2 kB / 1.137 GB, free: 392 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.9434, allocations: 119.4 kB / 1.137 GB, free: 272 kB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.9434, allocations: 0 / 1.137 GB, free: 272 kB / 0.8887 GB Notification: Performance of Templates: time 0.0294/0.9728, allocations: 16.25 MB / 1.153 GB, free: 184 kB / 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