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.00113/0.00113, allocations: 117.3 kB / 16.37 MB, free: 6.016 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.001261/0.001261, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 72.91 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2738, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006326/0.2802, allocations: 4.625 MB / 0.9556 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.777/1.057, allocations: 150.7 MB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/1.058, allocations: 16.69 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/1.059, allocations: 185.4 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/1.061, allocations: 0.5447 MB / 1.104 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/1.064, allocations: 0.8771 MB / 1.104 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002317/1.066, allocations: 1.437 MB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/1.067, allocations: 0.7202 MB / 1.106 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/1.068, allocations: 0.538 MB / 1.107 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008689/1.069, allocations: 0.5734 MB / 1.108 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/1.069, allocations: 135.2 kB / 1.108 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/1.071, allocations: 0.5203 MB / 1.108 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/1.071, allocations: 337.5 kB / 1.109 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007301/1.072, allocations: 0.6213 MB / 1.109 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/1.075, allocations: 1.812 MB / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.075, allocations: 3.75 kB / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/1.075, allocations: 0 / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.774e-05/1.075, allocations: 5.375 kB / 1.111 GB, free: 3.883 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.00384/1.079, allocations: 1.559 MB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.079, allocations: 9.672 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.08, allocations: 201.8 kB / 1.113 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/1.081, allocations: 0.8247 MB / 1.113 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/1.081, allocations: 74.25 kB / 1.114 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.082, allocations: 98.98 kB / 1.114 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.084, allocations: 1.067 MB / 1.115 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/1.084, allocations: 4.844 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.084, allocations: 44.61 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/1.084, allocations: 24.75 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/1.086, allocations: 1.229 MB / 1.116 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/1.091, allocations: 2.868 MB / 1.119 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.093, allocations: 0.8918 MB / 1.12 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/1.093, allocations: 339.1 kB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.576e-05/1.094, allocations: 35.44 kB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.095, allocations: 0.5522 MB / 1.121 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/1.095, allocations: 1.25 kB / 1.121 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003592/1.098, allocations: 1.332 MB / 1.122 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.098, allocations: 197.7 kB / 1.122 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.1, allocations: 0.6842 MB / 1.123 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.1, allocations: 41.02 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/1.1, allocations: 444 kB / 1.123 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/1.1, allocations: 296 kB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/1.101, allocations: 189.8 kB / 1.124 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.101, allocations: 391.1 kB / 1.124 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/1.101, allocations: 306.7 kB / 1.124 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/1.102, allocations: 404.5 kB / 1.125 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.103, allocations: 0.6851 MB / 1.125 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.103, allocations: 2.438 kB / 1.125 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002296/1.106, allocations: 0.9554 MB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.106, allocations: 5.656 kB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.106, allocations: 2.594 kB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/1.106, allocations: 84.86 kB / 1.126 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/1.107, allocations: 183.1 kB / 1.127 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.109, allocations: 1.633 MB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.111, allocations: 107.8 kB / 1.128 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/1.111, allocations: 44.59 kB / 1.128 GB, free: 14.41 MB / 0.8731 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.0006772/1.111, allocations: 285.1 kB / 1.129 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/1.112, allocations: 93.31 kB / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/1.114, allocations: 1.22 MB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.114, allocations: 10.31 kB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.114, allocations: 3.75 kB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.114, allocations: 9.422 kB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/1.116, allocations: 1.012 MB / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.116, allocations: 0 / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/1.116, allocations: 165.4 kB / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/1.117, allocations: 71.34 kB / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/1.117, allocations: 33.53 kB / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.119, allocations: 1.661 MB / 1.133 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.119, allocations: 3.938 kB / 1.133 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/1.121, allocations: 1.036 MB / 1.134 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/1.122, allocations: 295.7 kB / 1.134 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.122, allocations: 31.56 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/1.123, allocations: 73.55 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.123, allocations: 81.03 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/1.123, allocations: 38.89 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007955/1.124, allocations: 0.4901 MB / 1.135 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.124, allocations: 0 / 1.135 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001351/1.125, allocations: 360 kB / 1.135 GB, free: 11.96 MB / 0.8731 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.001507/1.127, allocations: 0.6277 MB / 1.136 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002012/1.129, allocations: 0.9313 MB / 1.137 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.129, allocations: 1.312 kB / 1.137 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.13, allocations: 0.569 MB / 1.137 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.131, allocations: 301.2 kB / 1.137 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/1.136, allocations: 1.961 MB / 1.139 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/1.136, allocations: 1.069 MB / 1.14 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001111/1.137, allocations: 288.5 kB / 1.141 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.138, allocations: 116.5 kB / 1.141 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/1.138, allocations: 1.5 kB / 1.141 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of Templates: time 0.03198/1.17, allocations: 16.36 MB / 1.157 GB, free: 4.438 MB / 0.8731 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 -s cvode -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