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.004702/0.004702, allocations: 103.2 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.001094/0.001094, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.368/2.368, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9502/0.9522, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006647/0.9589, allocations: 4.378 MB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.166, allocations: 150.6 MB / 1.239 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/1.168, allocations: 15.06 kB / 1.239 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006426/1.168, allocations: 181.2 kB / 1.239 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.171, allocations: 0.5071 MB / 1.24 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/1.173, allocations: 0.8403 MB / 1.241 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001483/1.174, allocations: 1.324 MB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/1.175, allocations: 0.7001 MB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/1.176, allocations: 0.49 MB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/1.177, allocations: 0.5261 MB / 1.244 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.177, allocations: 130.8 kB / 1.244 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/1.178, allocations: 0.493 MB / 1.244 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/1.179, allocations: 319 kB / 1.245 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/1.179, allocations: 0.5752 MB / 1.245 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/1.181, allocations: 1.696 MB / 1.247 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.181, allocations: 0 / 1.247 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/1.181, allocations: 0 / 1.247 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.181, allocations: 0 / 1.247 GB, free: 10.97 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.002491/1.183, allocations: 1.481 MB / 1.248 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.183, allocations: 8.031 kB / 1.248 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.184, allocations: 207.3 kB / 1.248 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/1.185, allocations: 0.7772 MB / 1.249 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/1.186, allocations: 78 kB / 1.249 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.186, allocations: 88 kB / 1.249 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.187, allocations: 1.011 MB / 1.25 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.187, allocations: 4 kB / 1.25 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/1.187, allocations: 40 kB / 1.25 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.188, allocations: 24 kB / 1.25 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.189, allocations: 1.179 MB / 1.252 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/1.194, allocations: 2.581 MB / 1.254 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.196, allocations: 0.97 MB / 1.255 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/1.197, allocations: 306.7 kB / 1.255 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/1.197, allocations: 36.59 kB / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/1.197, allocations: 0.4992 MB / 1.256 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/1.197, allocations: 0 / 1.256 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003083/1.201, allocations: 1.217 MB / 1.257 GB, free: 216 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.201, allocations: 196.5 kB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/1.202, allocations: 0.641 MB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/1.202, allocations: 41.7 kB / 1.258 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/1.202, allocations: 424.2 kB / 1.258 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/1.202, allocations: 268.2 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.202, allocations: 166.5 kB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.203, allocations: 386.8 kB / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/1.203, allocations: 269.8 kB / 1.259 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/1.204, allocations: 379 kB / 1.26 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.205, allocations: 0.6228 MB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.205, allocations: 0 / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001988/1.207, allocations: 0.8682 MB / 1.261 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.207, allocations: 4 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.207, allocations: 0 / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/1.208, allocations: 84.86 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/1.209, allocations: 171.7 kB / 1.261 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1.211, allocations: 1.622 MB / 1.263 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/1.211, allocations: 111.3 kB / 1.263 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/1.211, allocations: 35.97 kB / 1.263 GB, free: 9.703 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.0004802/1.212, allocations: 270.4 kB / 1.263 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.212, allocations: 82.97 kB / 1.263 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/1.215, allocations: 1.097 MB / 1.265 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.215, allocations: 12 kB / 1.265 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.215, allocations: 0 / 1.265 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.215, allocations: 3.984 kB / 1.265 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/1.218, allocations: 2.015 MB / 1.267 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.218, allocations: 3.938 kB / 1.267 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/1.219, allocations: 151.8 kB / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/1.219, allocations: 72.78 kB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/1.219, allocations: 27.98 kB / 1.267 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.221, allocations: 1.662 MB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.221, allocations: 0 / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/1.223, allocations: 1.017 MB / 1.269 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/1.224, allocations: 279.7 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.224, allocations: 16 kB / 1.27 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/1.224, allocations: 66.73 kB / 1.27 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.225, allocations: 80.89 kB / 1.27 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/1.225, allocations: 35.98 kB / 1.27 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006571/1.225, allocations: 467 kB / 1.27 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.225, allocations: 0 / 1.27 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001029/1.226, allocations: 327.1 kB / 1.271 GB, free: 1.789 MB / 0.9981 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.001618/1.228, allocations: 0.6052 MB / 1.271 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.23, allocations: 0.8507 MB / 1.272 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.23, allocations: 3.938 kB / 1.272 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.231, allocations: 0.5316 MB / 1.273 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.232, allocations: 286.4 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/1.237, allocations: 1.817 MB / 1.275 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/1.237, allocations: 1.043 MB / 1.276 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008034/1.238, allocations: 282.6 kB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.238, allocations: 103.4 kB / 1.276 GB, free: 12.38 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.239, allocations: 0 / 1.276 GB, free: 12.38 MB / 1.014 GB Notification: Performance of Templates: time 0.02747/1.266, allocations: 15.29 MB / 1.291 GB, free: 13.25 MB / 1.029 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/jenkins/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