Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, 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.001929/0.00193, allocations: 189.6 kB / 16.25 MB, free: 6.602 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.372/2.372, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7116, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005532/0.7172, allocations: 4.511 MB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.8895, allocations: 148.5 MB / 1.098 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.8907, allocations: 15.94 kB / 1.098 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.8914, allocations: 142.8 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.8934, allocations: 469.4 kB / 1.099 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.8958, allocations: 0.7802 MB / 1.1 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.8975, allocations: 1.382 MB / 1.101 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009846/0.8985, allocations: 0.6449 MB / 1.102 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007986/0.8993, allocations: 0.4982 MB / 1.102 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.8999, allocations: 0.5289 MB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.9, allocations: 128 kB / 1.103 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.9011, allocations: 487.6 kB / 1.103 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.9013, allocations: 319 kB / 1.104 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.9018, allocations: 0.5751 MB / 1.104 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.9039, allocations: 1.655 MB / 1.106 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9039, allocations: 3.938 kB / 1.106 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9039, allocations: 0 / 1.106 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.9039, allocations: 0 / 1.106 GB, free: 0.875 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00281/0.9067, allocations: 1.475 MB / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9068, allocations: 11.97 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.9077, allocations: 191.3 kB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9088, allocations: 0.7662 MB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.9088, allocations: 73.98 kB / 1.108 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.909, allocations: 88 kB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9106, allocations: 0.9691 MB / 1.109 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.9107, allocations: 7.938 kB / 1.109 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.9108, allocations: 36 kB / 1.109 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.9108, allocations: 20 kB / 1.109 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.9126, allocations: 1.163 MB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/0.9174, allocations: 2.695 MB / 1.113 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.9195, allocations: 0.9771 MB / 1.114 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.9202, allocations: 329.8 kB / 1.114 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.9203, allocations: 36.67 kB / 1.115 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.9214, allocations: 0.5334 MB / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 4.098e-06/0.9214, allocations: 0 / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003612/0.9251, allocations: 1.29 MB / 1.116 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.9252, allocations: 192.9 kB / 1.116 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9263, allocations: 0.6528 MB / 1.117 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.404e-05/0.9263, allocations: 45.7 kB / 1.117 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.9267, allocations: 408.4 kB / 1.118 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.9269, allocations: 283.9 kB / 1.118 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.9272, allocations: 178.4 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9274, allocations: 394.7 kB / 1.118 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.9279, allocations: 289.8 kB / 1.119 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.9286, allocations: 387.1 kB / 1.119 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.9297, allocations: 0.6554 MB / 1.12 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9297, allocations: 0 / 1.12 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002104/0.9319, allocations: 0.9151 MB / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.9319, allocations: 6.031 kB / 1.121 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9319, allocations: 4 kB / 1.121 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/0.9326, allocations: 88.81 kB / 1.121 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.9333, allocations: 171.8 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.9355, allocations: 1.642 MB / 1.122 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/0.9364, allocations: 105.5 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.9365, allocations: 43.97 kB / 1.123 GB, free: 15.28 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (104): * Single equations (assignments): 103 * 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.0004945/0.937, allocations: 276.1 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.9371, allocations: 82.97 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.9397, allocations: 1.191 MB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9397, allocations: 12 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9398, allocations: 0 / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.9398, allocations: 3.984 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.9432, allocations: 2.099 MB / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9432, allocations: 4 kB / 1.126 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.9438, allocations: 171.7 kB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.9443, allocations: 72.78 kB / 1.126 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.9444, allocations: 31.97 kB / 1.126 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9463, allocations: 1.662 MB / 1.128 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9463, allocations: 0 / 1.128 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.9485, allocations: 1.086 MB / 1.129 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.9489, allocations: 287.6 kB / 1.129 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.9491, allocations: 27.94 kB / 1.129 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.9498, allocations: 67.92 kB / 1.129 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.95, allocations: 84.83 kB / 1.13 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.9501, allocations: 39.97 kB / 1.13 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005697/0.9506, allocations: 475 kB / 1.13 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9506, allocations: 3.938 kB / 1.13 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009149/0.9516, allocations: 339.2 kB / 1.13 GB, free: 7.031 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.001371/0.9529, allocations: 0.6266 MB / 1.131 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.9556, allocations: 1.136 MB / 1.132 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.9556, allocations: 192 / 1.132 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/0.9566, allocations: 0.5588 MB / 1.133 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.9578, allocations: 302 kB / 1.133 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.9619, allocations: 2.31 MB / 1.135 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.9625, allocations: 1.048 MB / 1.136 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008966/0.9634, allocations: 282.9 kB / 1.136 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.9637, allocations: 115.4 kB / 1.137 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of SimCode: time 2.224e-06/0.9637, allocations: 0 / 1.137 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of Templates: time 0.02757/0.9913, allocations: 15.62 MB / 1.152 GB, free: 1.316 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches