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.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.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.006937/0.006937, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.001156/0.001156, allocations: 197.2 kB / 16.67 MB, free: 5.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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.45 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006967/0.3025, allocations: 4.612 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.4762, allocations: 150.7 MB / 1.24 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.4772, allocations: 19.88 kB / 1.24 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.478, allocations: 190.3 kB / 1.24 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.4802, allocations: 0.5446 MB / 1.24 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.4824, allocations: 0.8815 MB / 1.241 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.4842, allocations: 1.445 MB / 1.243 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.4854, allocations: 0.7111 MB / 1.243 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.4862, allocations: 0.541 MB / 1.244 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.4871, allocations: 0.5756 MB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.4874, allocations: 136 kB / 1.245 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.4885, allocations: 0.523 MB / 1.245 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.4889, allocations: 342.9 kB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.4896, allocations: 0.6257 MB / 1.246 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.492, allocations: 1.821 MB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.492, allocations: 3.938 kB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.492, allocations: 0 / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.492, allocations: 4 kB / 1.248 GB, free: 13.17 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.002853/0.4949, allocations: 1.595 MB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4949, allocations: 8.031 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.4959, allocations: 211.9 kB / 1.25 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4972, allocations: 0.8253 MB / 1.25 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.4972, allocations: 74.02 kB / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4974, allocations: 92 kB / 1.25 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.4993, allocations: 1.075 MB / 1.252 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.4993, allocations: 0 / 1.252 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.4994, allocations: 51.92 kB / 1.252 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.4994, allocations: 28 kB / 1.252 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.5014, allocations: 1.221 MB / 1.253 GB, free: 7.832 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.5065, allocations: 2.894 MB / 1.256 GB, free: 4.859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5082, allocations: 0.8838 MB / 1.256 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.5089, allocations: 351.6 kB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.339e-05/0.509, allocations: 33.02 kB / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.5102, allocations: 0.5591 MB / 1.257 GB, free: 3.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 4.629e-06/0.5102, allocations: 0 / 1.257 GB, free: 3.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003987/0.5142, allocations: 1.333 MB / 1.259 GB, free: 1.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.5144, allocations: 192.9 kB / 1.259 GB, free: 1.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.5157, allocations: 0.6841 MB / 1.26 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.5158, allocations: 49.69 kB / 1.26 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.5164, allocations: 449.2 kB / 1.26 GB, free: 248 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.6256/1.142, allocations: 308.5 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/1.142, allocations: 187.1 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.143, allocations: 390.3 kB / 1.261 GB, free: 173.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007468/1.143, allocations: 301.7 kB / 1.261 GB, free: 173.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/1.144, allocations: 405 kB / 1.262 GB, free: 173.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.146, allocations: 0.6839 MB / 1.262 GB, free: 173.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.146, allocations: 1.859 kB / 1.262 GB, free: 173.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00244/1.148, allocations: 0.9633 MB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.148, allocations: 5.469 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/1.148, allocations: 4.625 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/1.149, allocations: 76.19 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/1.15, allocations: 190.2 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/1.152, allocations: 1.623 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/1.152, allocations: 109 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/1.153, allocations: 46.41 kB / 1.265 GB, free: 171.7 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.0005557/1.153, allocations: 282.9 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.153, allocations: 96.58 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/1.156, allocations: 1.232 MB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.156, allocations: 10.75 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.156, allocations: 0.9688 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.156, allocations: 5.344 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.158, allocations: 1.005 MB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.158, allocations: 1.391 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/1.158, allocations: 173.7 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/1.159, allocations: 72.52 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/1.159, allocations: 31.66 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/1.161, allocations: 1.658 MB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.161, allocations: 3.281 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/1.163, allocations: 1.046 MB / 1.271 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/1.163, allocations: 298.8 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.164, allocations: 28.09 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/1.164, allocations: 70.91 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.165, allocations: 83.17 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/1.165, allocations: 41.05 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007598/1.165, allocations: 497.2 kB / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.3e-07/1.165, allocations: 0 / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001138/1.167, allocations: 370.1 kB / 1.272 GB, free: 167.9 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.001495/1.168, allocations: 0.6349 MB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002299/1.17, allocations: 0.9248 MB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.17, allocations: 3.328 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.172, allocations: 0.5719 MB / 1.274 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.173, allocations: 303.3 kB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/1.177, allocations: 1.984 MB / 1.276 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/1.177, allocations: 1.081 MB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008993/1.178, allocations: 274.8 kB / 1.278 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/1.179, allocations: 119.5 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.179, allocations: 1.188 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02963/1.208, allocations: 16.54 MB / 1.294 GB, free: 160.9 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