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.001113/0.001113, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.679/1.679, allocations: 223.3 MB / 241 MB, free: 5.328 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.489/2.489, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7082, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004907/0.7132, allocations: 4.197 MB / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.889, allocations: 146.8 MB / 1.103 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.8902, allocations: 15.88 kB / 1.103 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.8909, allocations: 138.9 kB / 1.103 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.8931, allocations: 474 kB / 1.104 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.8955, allocations: 0.7709 MB / 1.105 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.8976, allocations: 1.335 MB / 1.106 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.8988, allocations: 0.6782 MB / 1.106 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.8998, allocations: 386 kB / 1.107 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008481/0.9006, allocations: 425.6 kB / 1.107 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.9009, allocations: 28 kB / 1.107 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.902, allocations: 403.6 kB / 1.108 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.9024, allocations: 207 kB / 1.108 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.9031, allocations: 0.5062 MB / 1.108 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.905, allocations: 1.317 MB / 1.11 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.905, allocations: 0 / 1.11 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.905, allocations: 0 / 1.11 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.165e-05/0.9051, allocations: 0 / 1.11 GB, free: 1.133 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.003124/0.9082, allocations: 1.305 MB / 1.111 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.9083, allocations: 8.031 kB / 1.111 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.9095, allocations: 219.2 kB / 1.111 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.911, allocations: 0.7973 MB / 1.112 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.9111, allocations: 74.02 kB / 1.112 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.9112, allocations: 99.98 kB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.9136, allocations: 1.071 MB / 1.113 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.9136, allocations: 7.984 kB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9137, allocations: 44 kB / 1.113 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.9138, allocations: 24 kB / 1.113 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.9159, allocations: 1.229 MB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.9214, allocations: 2.963 MB / 1.117 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.9231, allocations: 0.8899 MB / 1.118 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.9239, allocations: 347.7 kB / 1.119 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.924, allocations: 45 kB / 1.119 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.9251, allocations: 0.5474 MB / 1.119 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.655e-06/0.9251, allocations: 0 / 1.119 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003399/0.9285, allocations: 1.352 MB / 1.12 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.9287, allocations: 196.9 kB / 1.121 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9297, allocations: 0.6841 MB / 1.121 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/0.9298, allocations: 41.7 kB / 1.121 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.9302, allocations: 440.4 kB / 1.122 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.9304, allocations: 295.8 kB / 1.122 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.9306, allocations: 77.67 kB / 1.122 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9308, allocations: 398.7 kB / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.9314, allocations: 301.8 kB / 1.123 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.9321, allocations: 415 kB / 1.123 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.9334, allocations: 0.6905 MB / 1.124 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9334, allocations: 4 kB / 1.124 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002203/0.9356, allocations: 0.9658 MB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9356, allocations: 8 kB / 1.125 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.9357, allocations: 0 / 1.125 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.9363, allocations: 84.83 kB / 1.125 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007714/0.9371, allocations: 187.7 kB / 1.125 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.9392, allocations: 1.516 MB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009263/0.9401, allocations: 123.2 kB / 1.127 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.9403, allocations: 39.97 kB / 1.127 GB, free: 15.16 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.0006261/0.9409, allocations: 286 kB / 1.127 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.9411, allocations: 98.84 kB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.9441, allocations: 1.234 MB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.9441, allocations: 12 kB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9441, allocations: 3.984 kB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9441, allocations: 3.984 kB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.9455, allocations: 1.001 MB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.9456, allocations: 0 / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.9462, allocations: 175.7 kB / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/0.9468, allocations: 92.69 kB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.9469, allocations: 31.92 kB / 1.13 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.9488, allocations: 1.544 MB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9488, allocations: 0 / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.9512, allocations: 1.053 MB / 1.132 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.9517, allocations: 319.4 kB / 1.132 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.9519, allocations: 20 kB / 1.132 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.9527, allocations: 83.92 kB / 1.132 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.9529, allocations: 84.83 kB / 1.133 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/0.953, allocations: 43.97 kB / 1.133 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007407/0.9538, allocations: 0.4912 MB / 1.133 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9538, allocations: 3.938 kB / 1.133 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001066/0.9548, allocations: 363.1 kB / 1.133 GB, free: 7.992 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.001659/0.9565, allocations: 0.6228 MB / 1.134 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9585, allocations: 0.9366 MB / 1.135 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9585, allocations: 0 / 1.135 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.9596, allocations: 0.5707 MB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.961, allocations: 272.4 kB / 1.136 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.9661, allocations: 2.561 MB / 1.138 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.967, allocations: 1.077 MB / 1.139 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.9675, allocations: 131.4 kB / 1.139 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of SimCode: time 1.112e-06/0.9675, allocations: 0 / 1.139 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of Templates: time 0.03277/1, allocations: 20.47 MB / 1.159 GB, free: 13.52 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