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.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.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.0018/0.0018, allocations: 100.1 kB / 15.88 MB, free: 12 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.002385/0.002385, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.441/2.441, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6993, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005248/0.7046, allocations: 4.385 MB / 0.9539 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.8791, allocations: 148.3 MB / 1.099 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.8803, allocations: 15.94 kB / 1.099 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.8812, allocations: 138.9 kB / 1.099 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.8834, allocations: 437.2 kB / 1.099 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.8858, allocations: 0.7268 MB / 1.1 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.8875, allocations: 1.222 MB / 1.101 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.8888, allocations: 0.6816 MB / 1.102 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.8896, allocations: 438.2 kB / 1.102 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.8904, allocations: 0.4898 MB / 1.103 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.8906, allocations: 64 kB / 1.103 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.8917, allocations: 411.6 kB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.892, allocations: 255 kB / 1.103 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.8926, allocations: 0.5204 MB / 1.104 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.8941, allocations: 1.255 MB / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8942, allocations: 0 / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8942, allocations: 0 / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.358e-05/0.8942, allocations: 0 / 1.105 GB, free: 2.27 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.003192/0.8974, allocations: 1.469 MB / 1.107 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8975, allocations: 8.031 kB / 1.107 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.8986, allocations: 215.3 kB / 1.107 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.8997, allocations: 0.7617 MB / 1.108 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.8998, allocations: 73.94 kB / 1.108 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.8999, allocations: 92 kB / 1.108 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.9017, allocations: 1.007 MB / 1.109 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.9017, allocations: 4 kB / 1.109 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.9018, allocations: 36 kB / 1.109 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.9018, allocations: 24 kB / 1.109 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.9038, allocations: 1.178 MB / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.9082, allocations: 2.624 MB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.9107, allocations: 0.9615 MB / 1.113 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.9113, allocations: 314.7 kB / 1.114 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.9114, allocations: 28.61 kB / 1.114 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/0.9124, allocations: 0.503 MB / 1.114 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.9124, allocations: 0 / 1.114 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003239/0.9157, allocations: 1.217 MB / 1.115 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.9158, allocations: 200.5 kB / 1.116 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.9166, allocations: 0.6371 MB / 1.116 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.9167, allocations: 45.7 kB / 1.116 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.917, allocations: 424.2 kB / 1.117 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.9173, allocations: 264.2 kB / 1.117 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.9176, allocations: 170.4 kB / 1.117 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9177, allocations: 386.8 kB / 1.117 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.9183, allocations: 273.8 kB / 1.118 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.919, allocations: 379 kB / 1.118 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.9202, allocations: 0.6151 MB / 1.119 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9202, allocations: 0 / 1.119 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002131/0.9223, allocations: 0.876 MB / 1.12 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.9224, allocations: 4 kB / 1.12 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9224, allocations: 0 / 1.12 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.923, allocations: 84.86 kB / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.9237, allocations: 163.7 kB / 1.12 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.9258, allocations: 1.516 MB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.9266, allocations: 99.41 kB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.9267, allocations: 35.97 kB / 1.121 GB, free: 1.109 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: 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.0004891/0.9272, allocations: 279.4 kB / 1.122 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.9273, allocations: 90.95 kB / 1.122 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.9299, allocations: 1.089 MB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.9299, allocations: 16 kB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9299, allocations: 3.938 kB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.9299, allocations: 7.922 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.9335, allocations: 2.005 MB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.9335, allocations: 4 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.9341, allocations: 147.8 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.9347, allocations: 84.78 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.9348, allocations: 27.97 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.9366, allocations: 1.532 MB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9367, allocations: 8 kB / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.9389, allocations: 1.016 MB / 1.128 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.9393, allocations: 287.7 kB / 1.128 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.9394, allocations: 20 kB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.9401, allocations: 69.62 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.9403, allocations: 68.89 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.9404, allocations: 39.92 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005938/0.941, allocations: 471 kB / 1.128 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.941, allocations: 0 / 1.128 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008889/0.9419, allocations: 323.1 kB / 1.129 GB, free: 9.297 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.001396/0.9433, allocations: 0.6049 MB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.9451, allocations: 0.8585 MB / 1.13 GB, free: 8 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9451, allocations: 0 / 1.13 GB, free: 8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.9462, allocations: 0.5238 MB / 1.131 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.9474, allocations: 274.8 kB / 1.131 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.9517, allocations: 2.323 MB / 1.133 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.9523, allocations: 1.043 MB / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.9527, allocations: 119.4 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.9527, allocations: 0 / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of Templates: time 0.02517/0.9779, allocations: 19.08 MB / 1.153 GB, free: 0.6133 MB / 0.9044 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