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.001168/0.001168, allocations: 109.3 kB / 16.37 MB, free: 6.309 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.001327/0.001327, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.524/2.524, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.98 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007162/0.3122, allocations: 5.135 MB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6495/0.9617, allocations: 150.7 MB / 1.179 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/0.9628, allocations: 16.06 kB / 1.179 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.9637, allocations: 199.9 kB / 1.179 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.9663, allocations: 0.5568 MB / 1.18 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.9688, allocations: 0.8518 MB / 1.18 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.9713, allocations: 1.449 MB / 1.182 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.9726, allocations: 0.651 MB / 1.183 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.9738, allocations: 0.5064 MB / 1.183 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.975, allocations: 0.5534 MB / 1.184 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.9754, allocations: 125.8 kB / 1.184 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.9771, allocations: 491.9 kB / 1.184 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.9776, allocations: 320.1 kB / 1.184 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.9786, allocations: 0.6031 MB / 1.185 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.9818, allocations: 1.728 MB / 1.187 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.9818, allocations: 3.984 kB / 1.187 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9818, allocations: 0 / 1.187 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.294e-05/0.9819, allocations: 1.156 kB / 1.187 GB, free: 1.457 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.004147/0.9861, allocations: 1.501 MB / 1.188 GB, free: 288 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9861, allocations: 8.5 kB / 1.188 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.9874, allocations: 211.9 kB / 1.188 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.989, allocations: 0.785 MB / 1.189 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.9891, allocations: 72.19 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.9892, allocations: 89.22 kB / 1.189 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.991, allocations: 1.009 MB / 1.19 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9911, allocations: 4 kB / 1.19 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/0.9911, allocations: 41.62 kB / 1.19 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.9912, allocations: 22 kB / 1.19 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.9931, allocations: 1.173 MB / 1.192 GB, free: 14.25 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.00467/0.9978, allocations: 2.852 MB / 1.194 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/1, allocations: 0.9659 MB / 1.195 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/1.001, allocations: 312.2 kB / 1.196 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.599e-05/1.001, allocations: 37.69 kB / 1.196 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009646/1.002, allocations: 0.4945 MB / 1.196 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/1.002, allocations: 0 / 1.196 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003377/1.005, allocations: 1.23 MB / 1.197 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.005, allocations: 189 kB / 1.197 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.006, allocations: 0.6538 MB / 1.198 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/1.006, allocations: 42.02 kB / 1.198 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/1.007, allocations: 418.8 kB / 1.199 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/1.007, allocations: 267.5 kB / 1.199 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/1.008, allocations: 169.1 kB / 1.199 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002969/1.008, allocations: 392.6 kB / 1.199 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/1.009, allocations: 274.3 kB / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/1.009, allocations: 370.7 kB / 1.2 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.011, allocations: 0.6215 MB / 1.201 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.011, allocations: 0 / 1.201 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002242/1.013, allocations: 0.8831 MB / 1.201 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.013, allocations: 5.938 kB / 1.201 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.013, allocations: 6.062 kB / 1.201 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/1.014, allocations: 79.41 kB / 1.201 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/1.014, allocations: 165.1 kB / 1.202 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.017, allocations: 1.631 MB / 1.203 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/1.018, allocations: 100.2 kB / 1.203 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.018, allocations: 37.11 kB / 1.203 GB, free: 5.66 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.0005914/1.019, allocations: 282.7 kB / 1.204 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.019, allocations: 87.47 kB / 1.204 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/1.021, allocations: 1.093 MB / 1.205 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.022, allocations: 7.922 kB / 1.205 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.022, allocations: 2.094 kB / 1.205 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/1.022, allocations: 275.5 kB / 1.205 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.022, allocations: 20.94 kB / 1.205 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/1.023, allocations: 66.73 kB / 1.205 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.023, allocations: 68.09 kB / 1.205 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002328/1.026, allocations: 0.9867 MB / 1.206 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002628/1.028, allocations: 1.434 MB / 1.208 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006762/1.029, allocations: 374.6 kB / 1.208 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007992/1.03, allocations: 465.8 kB / 1.208 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of Backend: time 8.81e-07/1.03, allocations: 0 / 1.208 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004021/1.034, allocations: 1.279 MB / 1.21 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003649/1.037, allocations: 2.119 MB / 1.212 GB, free: 15.52 MB / 0.92 GB Notification: Performance of Templates: time 0.03149/1.069, allocations: 16.83 MB / 1.228 GB, free: 14.88 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 -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