Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001045/0.001045, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001088/0.001088, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437.1 MB / 0.7112 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.62 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007038/0.2876, allocations: 5.386 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6314/0.919, allocations: 150.8 MB / 1.171 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.9197, allocations: 16.41 kB / 1.171 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.9203, allocations: 207.6 kB / 1.171 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.922, allocations: 0.62 MB / 1.172 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.9238, allocations: 0.8845 MB / 1.173 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.9253, allocations: 1.556 MB / 1.174 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.9262, allocations: 0.6718 MB / 1.175 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.9269, allocations: 0.5551 MB / 1.176 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.9275, allocations: 0.59 MB / 1.176 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.9277, allocations: 135.2 kB / 1.176 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009163/0.9286, allocations: 0.5244 MB / 1.177 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.9289, allocations: 339.2 kB / 1.177 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.9295, allocations: 0.6454 MB / 1.178 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.9313, allocations: 1.855 MB / 1.18 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9313, allocations: 1.156 kB / 1.18 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9313, allocations: 0 / 1.18 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.9313, allocations: 0 / 1.18 GB, free: 10.73 MB / 0.8887 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.002662/0.934, allocations: 1.579 MB / 1.181 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.934, allocations: 9.891 kB / 1.181 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.9349, allocations: 197.7 kB / 1.181 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.9361, allocations: 0.8247 MB / 1.182 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.9362, allocations: 78.34 kB / 1.182 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.9363, allocations: 96.94 kB / 1.182 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.9381, allocations: 1.077 MB / 1.183 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.9381, allocations: 0 / 1.183 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.9382, allocations: 46.25 kB / 1.183 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9382, allocations: 24.41 kB / 1.183 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.9401, allocations: 1.221 MB / 1.185 GB, free: 7.332 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.9446, allocations: 3.147 MB / 1.188 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.9462, allocations: 0.8864 MB / 1.189 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.9467, allocations: 346.8 kB / 1.189 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.9468, allocations: 36.91 kB / 1.189 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.9478, allocations: 0.5549 MB / 1.19 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=92): time 2.766e-06/0.9478, allocations: 0 / 1.19 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92): time 0.003278/0.9511, allocations: 1.341 MB / 1.191 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.9512, allocations: 195.5 kB / 1.191 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.9519, allocations: 0.6808 MB / 1.192 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.952, allocations: 45.98 kB / 1.192 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.9523, allocations: 443.9 kB / 1.192 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.9525, allocations: 296.1 kB / 1.192 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.9528, allocations: 185 kB / 1.193 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.953, allocations: 395.7 kB / 1.193 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.9535, allocations: 309.4 kB / 1.193 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.9542, allocations: 410 kB / 1.194 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.9554, allocations: 0.685 MB / 1.194 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9554, allocations: 0 / 1.194 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002027/0.9574, allocations: 0.963 MB / 1.195 GB, free: 76 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9574, allocations: 5.031 kB / 1.195 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9574, allocations: 0 / 1.195 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.958, allocations: 82.16 kB / 1.195 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.9588, allocations: 189.8 kB / 1.196 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.9608, allocations: 1.635 MB / 1.197 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/0.9617, allocations: 106.4 kB / 1.197 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.9618, allocations: 45.22 kB / 1.197 GB, free: 14.29 MB / 0.9044 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.0004644/0.9622, allocations: 285.1 kB / 1.198 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.9624, allocations: 92.28 kB / 1.198 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.965, allocations: 1.228 MB / 1.199 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.965, allocations: 14.47 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.965, allocations: 2.906 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.965, allocations: 3.984 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.9661, allocations: 1.007 MB / 1.2 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9662, allocations: 0 / 1.2 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.9668, allocations: 163.8 kB / 1.2 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.9673, allocations: 70.89 kB / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.9673, allocations: 38.16 kB / 1.2 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.9691, allocations: 1.654 MB / 1.202 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9692, allocations: 3.938 kB / 1.202 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.9712, allocations: 1.039 MB / 1.203 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.9717, allocations: 300.5 kB / 1.203 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.9719, allocations: 27.45 kB / 1.203 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.9725, allocations: 64.59 kB / 1.203 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.9727, allocations: 82.69 kB / 1.203 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.9728, allocations: 43.34 kB / 1.203 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005842/0.9734, allocations: 497.1 kB / 1.204 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9734, allocations: 2.188 kB / 1.204 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009481/0.9743, allocations: 377.9 kB / 1.204 GB, free: 9.547 MB / 0.9044 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.001379/0.9757, allocations: 0.6336 MB / 1.205 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.9775, allocations: 0.9327 MB / 1.206 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9776, allocations: 192 / 1.206 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.9785, allocations: 0.5734 MB / 1.206 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.9798, allocations: 313.2 kB / 1.206 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.9831, allocations: 1.86 MB / 1.208 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.9839, allocations: 1.077 MB / 1.209 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009693/0.9849, allocations: 283.3 kB / 1.21 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.9852, allocations: 123.3 kB / 1.21 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of SimCode: time 9.42e-07/0.9852, allocations: 0 / 1.21 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of Templates: time 0.03058/1.016, allocations: 16.91 MB / 1.226 GB, free: 3.793 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches