Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001456/0.001456, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 4.551 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.313/2.313, allocations: 390.2 MB / 0.665 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 71.89 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5984, allocations: 140.3 MB / 0.9498 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005326/0.6037, allocations: 4.391 MB / 0.954 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.7531, allocations: 148.4 MB / 1.099 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.754, allocations: 19.88 kB / 1.099 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.7548, allocations: 143 kB / 1.099 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.7567, allocations: 463.3 kB / 1.1 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.7589, allocations: 0.7513 MB / 1.1 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.7605, allocations: 1.316 MB / 1.102 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.7616, allocations: 0.6906 MB / 1.102 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.7623, allocations: 0.4904 MB / 1.103 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.763, allocations: 0.5367 MB / 1.103 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.7633, allocations: 124 kB / 1.103 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009268/0.7642, allocations: 463.6 kB / 1.104 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.7646, allocations: 323 kB / 1.104 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.7653, allocations: 0.5868 MB / 1.105 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.7669, allocations: 1.263 MB / 1.106 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.7669, allocations: 0 / 1.106 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7669, allocations: 0 / 1.106 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.109e-05/0.767, allocations: 0 / 1.106 GB, free: 1.602 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003057/0.77, allocations: 1.482 MB / 1.107 GB, free: 68 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7701, allocations: 8.031 kB / 1.107 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.7713, allocations: 211.3 kB / 1.108 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.7724, allocations: 0.7616 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.7725, allocations: 70 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7726, allocations: 88 kB / 1.108 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.7745, allocations: 1.007 MB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.7745, allocations: 0 / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.7746, allocations: 44 kB / 1.109 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.7746, allocations: 20 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.7766, allocations: 1.179 MB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/0.7809, allocations: 2.623 MB / 1.113 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.7833, allocations: 0.9654 MB / 1.114 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.7839, allocations: 314.7 kB / 1.114 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.784, allocations: 32.59 kB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009832/0.785, allocations: 0.499 MB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.997e-06/0.785, allocations: 4 kB / 1.115 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003288/0.7883, allocations: 1.229 MB / 1.116 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.7884, allocations: 192.5 kB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.7892, allocations: 0.6372 MB / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.7893, allocations: 45.7 kB / 1.117 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.7896, allocations: 428.1 kB / 1.117 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.7898, allocations: 264.2 kB / 1.118 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.7901, allocations: 166.4 kB / 1.118 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7902, allocations: 390.8 kB / 1.118 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.7908, allocations: 269.8 kB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.7915, allocations: 375.1 kB / 1.119 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.7927, allocations: 0.6189 MB / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7927, allocations: 4 kB / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002091/0.7948, allocations: 0.8644 MB / 1.12 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7948, allocations: 8 kB / 1.12 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7948, allocations: 0 / 1.12 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.7954, allocations: 88.8 kB / 1.12 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7962, allocations: 167.8 kB / 1.121 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.7983, allocations: 1.616 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.7991, allocations: 107.3 kB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.7992, allocations: 35.97 kB / 1.122 GB, free: 320 kB / 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004491/0.7996, allocations: 271.4 kB / 1.123 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.7998, allocations: 84.86 kB / 1.123 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.8024, allocations: 1.101 MB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.8024, allocations: 8 kB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.8024, allocations: 0 / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.8024, allocations: 7.969 kB / 1.124 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.8059, allocations: 2.013 MB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8059, allocations: 3.984 kB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.8066, allocations: 151.8 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.8071, allocations: 68.78 kB / 1.126 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.8071, allocations: 27.92 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.809, allocations: 1.662 MB / 1.128 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.809, allocations: 4.062 kB / 1.128 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.8111, allocations: 1.012 MB / 1.128 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.8115, allocations: 275.7 kB / 1.129 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.8117, allocations: 28 kB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.8125, allocations: 73.89 kB / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8126, allocations: 72.89 kB / 1.129 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.8127, allocations: 35.98 kB / 1.129 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005826/0.8133, allocations: 471 kB / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8133, allocations: 0 / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008969/0.8142, allocations: 323.1 kB / 1.13 GB, free: 8.391 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001442/0.8157, allocations: 0.6057 MB / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.8181, allocations: 1.058 MB / 1.131 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8181, allocations: 4 kB / 1.131 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.8191, allocations: 0.5313 MB / 1.132 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.8204, allocations: 297.2 kB / 1.132 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.8247, allocations: 2.324 MB / 1.134 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.8254, allocations: 1.043 MB / 1.135 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.8257, allocations: 119.4 kB / 1.136 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.8257, allocations: 7.938 kB / 1.136 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of Templates: time 0.02539/0.8511, allocations: 19.08 MB / 1.154 GB, free: 15.48 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches