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.001102/0.001102, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001006/0.001006, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.303/1.303, 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.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7344, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005019/0.7395, allocations: 4.38 MB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.9092, allocations: 150.6 MB / 1.24 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009749/0.9102, allocations: 15.44 kB / 1.24 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.911, allocations: 180.8 kB / 1.24 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.9131, allocations: 0.5039 MB / 1.241 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.9155, allocations: 0.8439 MB / 1.241 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001646/0.9171, allocations: 1.321 MB / 1.243 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.9182, allocations: 0.6988 MB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007396/0.9189, allocations: 0.4946 MB / 1.244 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.9197, allocations: 0.5262 MB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.92, allocations: 125.8 kB / 1.245 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.9211, allocations: 0.4942 MB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.9214, allocations: 313.8 kB / 1.245 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.9222, allocations: 0.5869 MB / 1.246 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.9241, allocations: 1.692 MB / 1.248 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.9242, allocations: 0 / 1.248 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9242, allocations: 0 / 1.248 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.509e-05/0.9242, allocations: 0 / 1.248 GB, free: 11.03 MB / 0.9825 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.002916/0.9271, allocations: 1.481 MB / 1.249 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9272, allocations: 8.031 kB / 1.249 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.9283, allocations: 211.3 kB / 1.249 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.9296, allocations: 0.7811 MB / 1.25 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.9297, allocations: 70 kB / 1.25 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.9298, allocations: 88 kB / 1.25 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.9317, allocations: 1.011 MB / 1.251 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.9317, allocations: 4 kB / 1.251 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.9318, allocations: 40 kB / 1.251 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.9318, allocations: 24 kB / 1.251 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.9338, allocations: 1.175 MB / 1.252 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.938, allocations: 2.581 MB / 1.255 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.9405, allocations: 0.974 MB / 1.256 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.9411, allocations: 306.7 kB / 1.256 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.9412, allocations: 36.59 kB / 1.256 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009226/0.9421, allocations: 0.4953 MB / 1.257 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.9421, allocations: 0 / 1.257 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003227/0.9454, allocations: 1.213 MB / 1.258 GB, free: 288 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.9455, allocations: 204.5 kB / 1.258 GB, free: 40 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.9463, allocations: 0.6371 MB / 1.259 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.9463, allocations: 41.7 kB / 1.259 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.9467, allocations: 424.2 kB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.9469, allocations: 268.2 kB / 1.259 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.9471, allocations: 166.5 kB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9473, allocations: 382.8 kB / 1.26 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.9478, allocations: 281.8 kB / 1.26 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.9485, allocations: 371.1 kB / 1.26 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9497, allocations: 0.6267 MB / 1.261 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9497, allocations: 0 / 1.261 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00203/0.9518, allocations: 0.8644 MB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9518, allocations: 7.938 kB / 1.262 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9518, allocations: 0 / 1.262 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.9524, allocations: 84.86 kB / 1.262 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.9531, allocations: 171.7 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.9552, allocations: 1.626 MB / 1.264 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.956, allocations: 99.28 kB / 1.264 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.956, allocations: 43.91 kB / 1.264 GB, free: 9.766 MB / 0.9981 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.0004222/0.9565, allocations: 264 kB / 1.264 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.9567, allocations: 86.91 kB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.9592, allocations: 1.101 MB / 1.265 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9592, allocations: 3.984 kB / 1.265 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.9592, allocations: 0 / 1.265 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.9596, allocations: 279.7 kB / 1.266 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.9598, allocations: 19.94 kB / 1.266 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.9605, allocations: 71.86 kB / 1.266 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.9606, allocations: 76.89 kB / 1.266 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002288/0.9629, allocations: 0.9709 MB / 1.267 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002433/0.9654, allocations: 1.441 MB / 1.268 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006493/0.966, allocations: 367.8 kB / 1.268 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005597/0.9666, allocations: 463 kB / 1.269 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Backend: time 6.31e-07/0.9666, allocations: 0 / 1.269 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.97, allocations: 1.285 MB / 1.27 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003002/0.973, allocations: 2.096 MB / 1.272 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of Templates: time 0.02745/1, allocations: 16.61 MB / 1.288 GB, free: 0.9453 MB / 1.014 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