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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001525/0.001525, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001676/0.001676, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.03 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006348/0.3334, allocations: 5.142 MB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7936/1.127, allocations: 150.6 MB / 1.179 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/1.128, allocations: 20.75 kB / 1.179 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006719/1.129, allocations: 196.8 kB / 1.179 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/1.131, allocations: 0.5625 MB / 1.18 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/1.134, allocations: 0.8406 MB / 1.18 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002217/1.136, allocations: 1.446 MB / 1.182 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/1.137, allocations: 0.6584 MB / 1.182 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/1.138, allocations: 0.5061 MB / 1.183 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/1.139, allocations: 0.5493 MB / 1.184 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/1.139, allocations: 126.2 kB / 1.184 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.14, allocations: 494.3 kB / 1.184 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/1.141, allocations: 324.6 kB / 1.184 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/1.141, allocations: 0.5946 MB / 1.185 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/1.144, allocations: 1.736 MB / 1.187 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.144, allocations: 0 / 1.187 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/1.144, allocations: 1.188 kB / 1.187 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.144, allocations: 0 / 1.187 GB, free: 1.484 MB / 0.8887 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.003142/1.147, allocations: 1.493 MB / 1.188 GB, free: 320 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.147, allocations: 9.375 kB / 1.188 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.148, allocations: 217.7 kB / 1.188 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/1.149, allocations: 0.781 MB / 1.189 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/1.15, allocations: 75.7 kB / 1.189 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.15, allocations: 88.72 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/1.152, allocations: 1.01 MB / 1.19 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.152, allocations: 1.375 kB / 1.19 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/1.152, allocations: 41.62 kB / 1.19 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/1.152, allocations: 22 kB / 1.19 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/1.154, allocations: 1.178 MB / 1.191 GB, free: 14.27 MB / 0.9044 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.004453/1.158, allocations: 2.839 MB / 1.194 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.16, allocations: 0.9754 MB / 1.195 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/1.161, allocations: 320.6 kB / 1.196 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.75e-05/1.161, allocations: 30.39 kB / 1.196 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/1.162, allocations: 0.5042 MB / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/1.162, allocations: 0 / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.00323/1.165, allocations: 1.235 MB / 1.197 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.165, allocations: 190 kB / 1.197 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/1.166, allocations: 0.6457 MB / 1.198 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/1.166, allocations: 42.23 kB / 1.198 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/1.166, allocations: 422.5 kB / 1.199 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/1.167, allocations: 264.4 kB / 1.199 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.167, allocations: 165.1 kB / 1.199 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.167, allocations: 396.7 kB / 1.199 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/1.168, allocations: 275.6 kB / 1.2 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/1.168, allocations: 374.4 kB / 1.2 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.169, allocations: 0.6231 MB / 1.201 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.169, allocations: 2.25 kB / 1.201 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001955/1.171, allocations: 0.8762 MB / 1.201 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.171, allocations: 8.469 kB / 1.201 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.171, allocations: 0 / 1.201 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/1.172, allocations: 86.56 kB / 1.201 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/1.173, allocations: 167.3 kB / 1.202 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.175, allocations: 1.622 MB / 1.203 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/1.176, allocations: 97.41 kB / 1.203 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/1.176, allocations: 39.59 kB / 1.203 GB, free: 5.684 MB / 0.9044 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.0004814/1.176, allocations: 278.6 kB / 1.204 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.176, allocations: 84.53 kB / 1.204 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/1.179, allocations: 1.093 MB / 1.205 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.179, allocations: 10.16 kB / 1.205 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.179, allocations: 0 / 1.205 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.179, allocations: 14.56 kB / 1.205 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/1.182, allocations: 2.003 MB / 1.207 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.182, allocations: 0 / 1.207 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/1.183, allocations: 151.5 kB / 1.207 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/1.183, allocations: 78.22 kB / 1.207 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/1.183, allocations: 26.39 kB / 1.207 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.185, allocations: 1.665 MB / 1.209 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.185, allocations: 0 / 1.209 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/1.187, allocations: 1.016 MB / 1.21 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/1.188, allocations: 274.4 kB / 1.21 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.188, allocations: 20.78 kB / 1.21 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/1.189, allocations: 70.77 kB / 1.21 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.189, allocations: 69.69 kB / 1.21 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/1.189, allocations: 38.81 kB / 1.21 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005511/1.189, allocations: 465.5 kB / 1.21 GB, free: 400 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/1.189, allocations: 3.938 kB / 1.211 GB, free: 396 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009615/1.19, allocations: 339.2 kB / 1.211 GB, free: 56 kB / 0.9044 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.001345/1.192, allocations: 0.6069 MB / 1.211 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.193, allocations: 0.8557 MB / 1.212 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.193, allocations: 0 / 1.212 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/1.194, allocations: 0.5353 MB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.196, allocations: 314.2 kB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.199, allocations: 1.713 MB / 1.215 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/1.199, allocations: 1.051 MB / 1.216 GB, free: 11.11 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007933/1.2, allocations: 274.8 kB / 1.216 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/1.2, allocations: 103.4 kB / 1.216 GB, free: 10.73 MB / 0.92 GB Notification: Performance of SimCode: time 1.282e-06/1.2, allocations: 0 / 1.216 GB, free: 10.73 MB / 0.92 GB Notification: Performance of Templates: time 0.02554/1.226, allocations: 15.56 MB / 1.231 GB, free: 11.37 MB / 0.9356 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 -s cvode -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