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.001604/0.001604, allocations: 109.3 kB / 15.7 MB, free: 132 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.001962/0.001961, allocations: 194.9 kB / 16.63 MB, free: 6.609 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.414/1.414, allocations: 222.9 MB / 240.3 MB, free: 4.352 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.409/2.409, allocations: 390.3 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.27 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.01027/0.3452, allocations: 4.616 MB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.5212, allocations: 150.7 MB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.5222, allocations: 15.94 kB / 1.24 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.5229, allocations: 182.3 kB / 1.24 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.5251, allocations: 0.5582 MB / 1.24 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.5271, allocations: 0.8716 MB / 1.241 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.5288, allocations: 1.441 MB / 1.243 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.5297, allocations: 0.715 MB / 1.243 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.5305, allocations: 0.545 MB / 1.244 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.5311, allocations: 0.5794 MB / 1.244 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.5313, allocations: 136 kB / 1.245 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.5322, allocations: 0.5035 MB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.5325, allocations: 342.9 kB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.5331, allocations: 0.6257 MB / 1.246 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5349, allocations: 1.818 MB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5349, allocations: 0 / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5349, allocations: 4 kB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.535, allocations: 0 / 1.248 GB, free: 13.14 MB / 1.014 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.002665/0.5376, allocations: 1.55 MB / 1.249 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5377, allocations: 8.031 kB / 1.249 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/0.5387, allocations: 215.1 kB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.5398, allocations: 0.8168 MB / 1.25 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.5399, allocations: 74.02 kB / 1.25 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.54, allocations: 99.98 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.5418, allocations: 1.067 MB / 1.251 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5418, allocations: 0 / 1.251 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.5419, allocations: 44 kB / 1.252 GB, free: 9.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.542, allocations: 24 kB / 1.252 GB, free: 9.086 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5439, allocations: 1.225 MB / 1.253 GB, free: 7.859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.5486, allocations: 2.893 MB / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.5503, allocations: 0.886 MB / 1.256 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.5509, allocations: 339.7 kB / 1.257 GB, free: 3.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.551, allocations: 41 kB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009501/0.552, allocations: 0.5475 MB / 1.257 GB, free: 3.059 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 2.474e-06/0.552, allocations: 0 / 1.257 GB, free: 3.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003436/0.5555, allocations: 1.337 MB / 1.259 GB, free: 1.699 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.5556, allocations: 192.9 kB / 1.259 GB, free: 1.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.5564, allocations: 0.6841 MB / 1.26 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.5565, allocations: 41.7 kB / 1.26 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.5569, allocations: 440.3 kB / 1.26 GB, free: 304 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5571, allocations: 295.8 kB / 1.26 GB, free: 4 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.613/1.17, allocations: 183.2 kB / 1.26 GB, free: 173.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.17, allocations: 397.7 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000728/1.171, allocations: 302.6 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/1.172, allocations: 405.3 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/1.173, allocations: 0.6808 MB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.173, allocations: 3.438 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002414/1.176, allocations: 0.9508 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.176, allocations: 7.609 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.176, allocations: 1.906 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/1.176, allocations: 85.25 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/1.177, allocations: 188.8 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.179, allocations: 1.633 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/1.18, allocations: 103.8 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/1.18, allocations: 42.59 kB / 1.265 GB, free: 171.5 MB / 1.014 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/1.181, allocations: 288.4 kB / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/1.181, allocations: 91.17 kB / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/1.184, allocations: 1.224 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.184, allocations: 13.47 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.184, allocations: 0 / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/1.184, allocations: 6.484 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.186, allocations: 1.006 MB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.186, allocations: 2.047 kB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.187, allocations: 163.1 kB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/1.187, allocations: 83.44 kB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/1.187, allocations: 29.48 kB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.189, allocations: 1.653 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.189, allocations: 1.438 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/1.191, allocations: 1.044 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/1.192, allocations: 300.8 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.192, allocations: 24.25 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/1.193, allocations: 72 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.193, allocations: 81.77 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.193, allocations: 43.75 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008511/1.194, allocations: 497.7 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.194, allocations: 0 / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001236/1.195, allocations: 363.2 kB / 1.272 GB, free: 167.8 MB / 1.014 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.001517/1.197, allocations: 0.6269 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002313/1.199, allocations: 0.9298 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.199, allocations: 0.5312 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.2, allocations: 0.576 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/1.202, allocations: 297.2 kB / 1.274 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/1.206, allocations: 1.944 MB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/1.207, allocations: 1.079 MB / 1.277 GB, free: 165.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001082/1.208, allocations: 290.5 kB / 1.277 GB, free: 165.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/1.208, allocations: 117.2 kB / 1.278 GB, free: 165.1 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.208, allocations: 0 / 1.278 GB, free: 165.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03692/1.245, allocations: 16.36 MB / 1.294 GB, free: 161 MB / 1.014 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