Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001183/0.001183, allocations: 105 kB / 16.41 MB, free: 6.465 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.001143/0.001143, allocations: 187 kB / 17.34 MB, free: 5.719 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.312/2.312, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.84 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6265, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005524/0.632, allocations: 5.137 MB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1315/0.7636, allocations: 150.7 MB / 1.373 GB, free: 5.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.7644, allocations: 15.94 kB / 1.373 GB, free: 5.914 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.7652, allocations: 198.1 kB / 1.373 GB, free: 5.719 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.7672, allocations: 0.5746 MB / 1.374 GB, free: 5.145 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.7689, allocations: 0.8482 MB / 1.375 GB, free: 4.301 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.7702, allocations: 1.448 MB / 1.376 GB, free: 2.848 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.771, allocations: 0.656 MB / 1.377 GB, free: 2.168 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.7716, allocations: 0.5139 MB / 1.377 GB, free: 1.652 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.7721, allocations: 0.5445 MB / 1.378 GB, free: 1.105 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.7722, allocations: 128 kB / 1.378 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.773, allocations: 495.6 kB / 1.378 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.7733, allocations: 319 kB / 1.379 GB, free: 188 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.7738, allocations: 0.6025 MB / 1.379 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.7753, allocations: 1.735 MB / 1.381 GB, free: 13.84 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7754, allocations: 0 / 1.381 GB, free: 13.84 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7754, allocations: 0 / 1.381 GB, free: 13.84 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7754, allocations: 0 / 1.381 GB, free: 13.84 MB / 1.107 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.002302/0.7777, allocations: 1.496 MB / 1.382 GB, free: 12.29 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7777, allocations: 16.56 kB / 1.382 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7788, allocations: 211.3 kB / 1.383 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7798, allocations: 0.7773 MB / 1.383 GB, free: 11.24 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.7799, allocations: 70 kB / 1.383 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.78, allocations: 95.94 kB / 1.383 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.7815, allocations: 1.011 MB / 1.384 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7816, allocations: 4 kB / 1.384 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.7817, allocations: 36 kB / 1.384 GB, free: 9.992 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.7817, allocations: 24 kB / 1.385 GB, free: 9.969 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.7834, allocations: 1.171 MB / 1.386 GB, free: 8.801 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.7871, allocations: 2.855 MB / 1.388 GB, free: 5.816 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.7893, allocations: 0.98 MB / 1.389 GB, free: 4.82 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.7899, allocations: 310.7 kB / 1.39 GB, free: 4.516 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.7899, allocations: 32.61 kB / 1.39 GB, free: 4.484 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.7907, allocations: 0.5089 MB / 1.39 GB, free: 3.957 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.114e-06/0.7908, allocations: 0 / 1.39 GB, free: 3.957 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.002923/0.7937, allocations: 1.225 MB / 1.391 GB, free: 2.703 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.7938, allocations: 204.4 kB / 1.392 GB, free: 2.461 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.7944, allocations: 0.641 MB / 1.392 GB, free: 1.812 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.7945, allocations: 41.7 kB / 1.392 GB, free: 1.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.7948, allocations: 424.2 kB / 1.393 GB, free: 1.344 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.7949, allocations: 264.2 kB / 1.393 GB, free: 1.082 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.7952, allocations: 166.5 kB / 1.393 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7953, allocations: 390.7 kB / 1.393 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.7958, allocations: 273.8 kB / 1.394 GB, free: 260 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.7964, allocations: 375.2 kB / 1.394 GB, free: 15.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7975, allocations: 0.6268 MB / 1.395 GB, free: 15.24 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7975, allocations: 0 / 1.395 GB, free: 15.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00179/0.7993, allocations: 0.876 MB / 1.396 GB, free: 14.35 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7993, allocations: 4 kB / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7993, allocations: 0 / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.7999, allocations: 84.86 kB / 1.396 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.8005, allocations: 163.8 kB / 1.396 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.8023, allocations: 1.639 MB / 1.397 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/0.803, allocations: 109 kB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.8031, allocations: 35.97 kB / 1.398 GB, free: 12.17 MB / 1.123 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.0003533/0.8034, allocations: 271.6 kB / 1.398 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8036, allocations: 82.97 kB / 1.398 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.8057, allocations: 1.097 MB / 1.399 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.8058, allocations: 12 kB / 1.399 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.8058, allocations: 0 / 1.399 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.8058, allocations: 3.984 kB / 1.399 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.8086, allocations: 1.995 MB / 1.401 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8087, allocations: 0 / 1.401 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.8092, allocations: 159.8 kB / 1.401 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.8096, allocations: 68.8 kB / 1.401 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.8097, allocations: 27.97 kB / 1.401 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.8113, allocations: 1.669 MB / 1.403 GB, free: 6.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8113, allocations: 0 / 1.403 GB, free: 6.57 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.8131, allocations: 1.021 MB / 1.404 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.8134, allocations: 271.7 kB / 1.404 GB, free: 5.242 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.8136, allocations: 23.98 kB / 1.404 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.8142, allocations: 59.94 kB / 1.404 GB, free: 5.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8143, allocations: 80.83 kB / 1.404 GB, free: 5.082 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.8144, allocations: 35.98 kB / 1.404 GB, free: 5.047 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004772/0.8149, allocations: 471 kB / 1.405 GB, free: 4.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8149, allocations: 0 / 1.405 GB, free: 4.59 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007465/0.8157, allocations: 339.1 kB / 1.405 GB, free: 4.258 MB / 1.123 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.001163/0.8168, allocations: 0.6097 MB / 1.406 GB, free: 3.824 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.8184, allocations: 0.8468 MB / 1.406 GB, free: 2.965 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8184, allocations: 0 / 1.406 GB, free: 2.965 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.8192, allocations: 0.5394 MB / 1.407 GB, free: 2.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.8204, allocations: 301.4 kB / 1.407 GB, free: 2.137 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.8229, allocations: 1.754 MB / 1.409 GB, free: 360 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.8234, allocations: 1.043 MB / 1.41 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.8236, allocations: 119.4 kB / 1.41 GB, free: 15.16 MB / 1.139 GB Notification: Performance of SimCode: time 2.775e-06/0.8237, allocations: 0 / 1.41 GB, free: 15.16 MB / 1.139 GB Notification: Performance of Templates: time 0.02013/0.8438, allocations: 19.43 MB / 1.429 GB, free: 11.81 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches