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.001482/0.001482, allocations: 116.2 kB / 16.42 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.001704/0.001705, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.12 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8148, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006533/0.8214, allocations: 5.131 MB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1514/0.9729, allocations: 150.7 MB / 1.373 GB, free: 5.973 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.974, allocations: 15.94 kB / 1.373 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008597/0.9749, allocations: 190.1 kB / 1.373 GB, free: 5.77 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.977, allocations: 0.5767 MB / 1.374 GB, free: 5.195 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.9792, allocations: 0.8557 MB / 1.375 GB, free: 4.344 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.9811, allocations: 1.452 MB / 1.376 GB, free: 2.887 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.9822, allocations: 0.6443 MB / 1.377 GB, free: 2.219 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.9831, allocations: 0.5255 MB / 1.377 GB, free: 1.691 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.9839, allocations: 0.5367 MB / 1.378 GB, free: 1.152 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.9843, allocations: 128 kB / 1.378 GB, free: 1.027 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.9854, allocations: 499.6 kB / 1.378 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.9858, allocations: 315 kB / 1.379 GB, free: 236 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.9867, allocations: 0.6063 MB / 1.379 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.9892, allocations: 1.731 MB / 1.381 GB, free: 13.89 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9892, allocations: 0 / 1.381 GB, free: 13.89 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9892, allocations: 0 / 1.381 GB, free: 13.89 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.232e-05/0.9893, allocations: 0 / 1.381 GB, free: 13.89 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.003376/0.9927, allocations: 1.5 MB / 1.382 GB, free: 12.33 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.9927, allocations: 16.56 kB / 1.382 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.9938, allocations: 211.3 kB / 1.383 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.9951, allocations: 0.7773 MB / 1.383 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.9951, allocations: 70 kB / 1.383 GB, free: 11.22 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9953, allocations: 96 kB / 1.383 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.997, allocations: 1.007 MB / 1.384 GB, free: 10.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.9971, allocations: 3.984 kB / 1.384 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.9972, allocations: 40 kB / 1.384 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.9972, allocations: 20 kB / 1.385 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.9992, allocations: 1.171 MB / 1.386 GB, free: 8.848 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.004431/1.004, allocations: 2.863 MB / 1.388 GB, free: 5.855 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/1.006, allocations: 0.9737 MB / 1.389 GB, free: 4.863 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/1.007, allocations: 310.7 kB / 1.39 GB, free: 4.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/1.007, allocations: 28.61 kB / 1.39 GB, free: 4.531 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009564/1.008, allocations: 0.5031 MB / 1.39 GB, free: 4.008 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/1.008, allocations: 3.938 kB / 1.39 GB, free: 4.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003306/1.011, allocations: 1.225 MB / 1.391 GB, free: 2.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/1.011, allocations: 196.5 kB / 1.392 GB, free: 2.516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/1.012, allocations: 0.6488 MB / 1.392 GB, free: 1.859 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.76e-05/1.012, allocations: 41.7 kB / 1.392 GB, free: 1.812 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/1.013, allocations: 420.2 kB / 1.393 GB, free: 1.395 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/1.013, allocations: 264.2 kB / 1.393 GB, free: 1.133 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.013, allocations: 170.5 kB / 1.393 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.013, allocations: 386.7 kB / 1.393 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/1.014, allocations: 285.8 kB / 1.394 GB, free: 300 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/1.015, allocations: 367.1 kB / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.016, allocations: 0.6268 MB / 1.395 GB, free: 15.29 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.016, allocations: 0 / 1.395 GB, free: 15.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002177/1.018, allocations: 0.8683 MB / 1.396 GB, free: 14.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.018, allocations: 11.94 kB / 1.396 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.018, allocations: 4.094 kB / 1.396 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/1.019, allocations: 80.72 kB / 1.396 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/1.02, allocations: 171.8 kB / 1.396 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/1.022, allocations: 1.631 MB / 1.397 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/1.023, allocations: 91.36 kB / 1.397 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/1.023, allocations: 39.91 kB / 1.398 GB, free: 12.23 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.0005526/1.024, allocations: 279.6 kB / 1.398 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.024, allocations: 86.97 kB / 1.398 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.027, allocations: 1.101 MB / 1.399 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.027, allocations: 3.984 kB / 1.399 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.027, allocations: 0 / 1.399 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/1.027, allocations: 275.7 kB / 1.399 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.028, allocations: 20 kB / 1.399 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/1.028, allocations: 73.95 kB / 1.399 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.029, allocations: 64.91 kB / 1.399 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002242/1.031, allocations: 0.9748 MB / 1.4 GB, free: 9.316 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002499/1.033, allocations: 1.445 MB / 1.402 GB, free: 7.855 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006474/1.034, allocations: 363.8 kB / 1.402 GB, free: 7.496 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006526/1.035, allocations: 471 kB / 1.403 GB, free: 7.043 MB / 1.123 GB Notification: Performance of Backend: time 6.92e-07/1.035, allocations: 0 / 1.403 GB, free: 7.043 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003421/1.038, allocations: 1.284 MB / 1.404 GB, free: 5.984 MB / 1.123 GB Notification: Performance of SimCode: time 0.003493/1.042, allocations: 2.118 MB / 1.406 GB, free: 3.828 MB / 1.123 GB Notification: Performance of Templates: time 0.02774/1.069, allocations: 16.98 MB / 1.422 GB, free: 3.039 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