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.00126/0.00126, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001178/0.001178, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.344/2.344, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.12 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6326, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006154/0.6388, allocations: 5.116 MB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.7777, allocations: 150.7 MB / 1.361 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.7785, allocations: 19.88 kB / 1.361 GB, free: 1.258 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.7792, allocations: 202.1 kB / 1.361 GB, free: 1.059 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.7811, allocations: 0.5685 MB / 1.361 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.7831, allocations: 0.8481 MB / 1.362 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.7847, allocations: 1.444 MB / 1.364 GB, free: 14.2 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/0.7857, allocations: 0.656 MB / 1.364 GB, free: 13.53 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.7864, allocations: 0.51 MB / 1.365 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/0.7871, allocations: 0.5484 MB / 1.365 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.7874, allocations: 128 kB / 1.365 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.7882, allocations: 491.6 kB / 1.366 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.7885, allocations: 319 kB / 1.366 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.7892, allocations: 0.6025 MB / 1.367 GB, free: 10.94 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.791, allocations: 1.738 MB / 1.368 GB, free: 9.199 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7911, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7911, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.7911, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.092 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.002663/0.7938, allocations: 1.496 MB / 1.37 GB, free: 7.641 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.7938, allocations: 8.031 kB / 1.37 GB, free: 7.633 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.7949, allocations: 215.3 kB / 1.37 GB, free: 7.422 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.796, allocations: 0.7773 MB / 1.371 GB, free: 6.602 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.7961, allocations: 66 kB / 1.371 GB, free: 6.535 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.7962, allocations: 95.94 kB / 1.371 GB, free: 6.441 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.7979, allocations: 1.003 MB / 1.372 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.7979, allocations: 0 / 1.372 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.798, allocations: 44 kB / 1.372 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.798, allocations: 28 kB / 1.372 GB, free: 5.332 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7998, allocations: 1.175 MB / 1.373 GB, free: 4.156 MB / 1.092 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.003913/0.8038, allocations: 2.851 MB / 1.376 GB, free: 1.18 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.806, allocations: 0.9771 MB / 1.377 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.8066, allocations: 314.7 kB / 1.377 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.8067, allocations: 32.53 kB / 1.377 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000834/0.8075, allocations: 0.4991 MB / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.8075, allocations: 0 / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003038/0.8106, allocations: 1.233 MB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.8107, allocations: 196.5 kB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.8114, allocations: 0.641 MB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.8115, allocations: 41.7 kB / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.8118, allocations: 428.2 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.812, allocations: 260.2 kB / 1.38 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.8122, allocations: 170.4 kB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8124, allocations: 382.8 kB / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.8129, allocations: 277.8 kB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.8135, allocations: 379 kB / 1.382 GB, free: 11.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.8147, allocations: 0.619 MB / 1.382 GB, free: 10.6 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.8147, allocations: 64 / 1.382 GB, free: 10.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001926/0.8166, allocations: 0.8838 MB / 1.383 GB, free: 9.699 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8166, allocations: 9.719 kB / 1.383 GB, free: 9.691 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8167, allocations: 0 / 1.383 GB, free: 9.691 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/0.8172, allocations: 88.84 kB / 1.383 GB, free: 9.602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.8179, allocations: 167.7 kB / 1.383 GB, free: 9.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.8199, allocations: 1.622 MB / 1.385 GB, free: 7.672 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.8206, allocations: 99.31 kB / 1.385 GB, free: 7.574 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.8207, allocations: 39.97 kB / 1.385 GB, free: 7.535 MB / 1.107 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.0003573/0.821, allocations: 277.1 kB / 1.385 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.8212, allocations: 82.97 kB / 1.385 GB, free: 7.176 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.8235, allocations: 1.093 MB / 1.386 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8235, allocations: 8 kB / 1.386 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8235, allocations: 7.984 kB / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.8235, allocations: 7.922 kB / 1.386 GB, free: 6.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.8265, allocations: 1.999 MB / 1.388 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8265, allocations: 3.938 kB / 1.388 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.8271, allocations: 151.8 kB / 1.389 GB, free: 3.832 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.8275, allocations: 72.78 kB / 1.389 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.8276, allocations: 23.98 kB / 1.389 GB, free: 3.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.8293, allocations: 1.662 MB / 1.39 GB, free: 1.93 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8294, allocations: 0 / 1.39 GB, free: 1.93 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.8313, allocations: 1.025 MB / 1.391 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.8316, allocations: 275.7 kB / 1.392 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8317, allocations: 20 kB / 1.392 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.8324, allocations: 63.92 kB / 1.392 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.8326, allocations: 68.91 kB / 1.392 GB, free: 456 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.8326, allocations: 35.97 kB / 1.392 GB, free: 420 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005097/0.8331, allocations: 475 kB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8331, allocations: 0 / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007949/0.8339, allocations: 347 kB / 1.393 GB, free: 15.61 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.001254/0.8352, allocations: 0.6023 MB / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.8369, allocations: 0.8547 MB / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8369, allocations: 0 / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.8378, allocations: 0.5316 MB / 1.394 GB, free: 13.78 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.839, allocations: 305.1 kB / 1.395 GB, free: 13.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.8417, allocations: 1.76 MB / 1.396 GB, free: 11.71 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.8422, allocations: 1.043 MB / 1.397 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.8425, allocations: 123.4 kB / 1.398 GB, free: 10.52 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/0.8426, allocations: 0 / 1.398 GB, free: 10.52 MB / 1.123 GB Notification: Performance of Templates: time 0.02258/0.8651, allocations: 19.41 MB / 1.417 GB, free: 7.176 MB / 1.139 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