Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001555/0.001556, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.001699/0.001699, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7362, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007077/0.7433, allocations: 5.14 MB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.905, allocations: 150.7 MB / 1.319 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.906, allocations: 15.94 kB / 1.319 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.9068, allocations: 202.1 kB / 1.32 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.9094, allocations: 0.5674 MB / 1.32 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.9119, allocations: 0.8457 MB / 1.321 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.9139, allocations: 1.452 MB / 1.322 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9151, allocations: 0.6482 MB / 1.323 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008935/0.916, allocations: 0.5178 MB / 1.324 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008836/0.9169, allocations: 0.5445 MB / 1.324 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.9172, allocations: 131.9 kB / 1.324 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.9184, allocations: 499.6 kB / 1.325 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.9188, allocations: 315 kB / 1.325 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.9199, allocations: 0.6064 MB / 1.326 GB, free: 1.086 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.9225, allocations: 1.735 MB / 1.327 GB, free: 15.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.9225, allocations: 0 / 1.327 GB, free: 15.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9225, allocations: 0 / 1.327 GB, free: 15.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.426e-05/0.9226, allocations: 0 / 1.327 GB, free: 15.35 MB / 1.061 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.003518/0.9261, allocations: 1.492 MB / 1.329 GB, free: 13.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9262, allocations: 8.625 kB / 1.329 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.9274, allocations: 215.3 kB / 1.329 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.9289, allocations: 0.7811 MB / 1.33 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.929, allocations: 66 kB / 1.33 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.9291, allocations: 96 kB / 1.33 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.9311, allocations: 1.003 MB / 1.331 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.9311, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9313, allocations: 43.98 kB / 1.331 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.9313, allocations: 20 kB / 1.331 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.9334, allocations: 1.175 MB / 1.332 GB, free: 10.32 MB / 1.061 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.004859/0.9383, allocations: 2.855 MB / 1.335 GB, free: 7.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.9408, allocations: 0.9785 MB / 1.336 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.9415, allocations: 310.7 kB / 1.336 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.9416, allocations: 32.59 kB / 1.336 GB, free: 6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.9425, allocations: 0.5029 MB / 1.337 GB, free: 5.477 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/0.9425, allocations: 0 / 1.337 GB, free: 5.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003446/0.946, allocations: 1.229 MB / 1.338 GB, free: 4.223 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.9461, allocations: 192.5 kB / 1.338 GB, free: 3.992 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/0.947, allocations: 0.641 MB / 1.339 GB, free: 3.344 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.9471, allocations: 49.69 kB / 1.339 GB, free: 3.289 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.9475, allocations: 424.2 kB / 1.339 GB, free: 2.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.9477, allocations: 264.2 kB / 1.339 GB, free: 2.605 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.948, allocations: 170.4 kB / 1.34 GB, free: 2.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9482, allocations: 386.7 kB / 1.34 GB, free: 2.047 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.9488, allocations: 277.8 kB / 1.34 GB, free: 1.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.9497, allocations: 375.1 kB / 1.341 GB, free: 1.395 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.9511, allocations: 0.6229 MB / 1.341 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9511, allocations: 3.938 kB / 1.341 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002173/0.9533, allocations: 0.8684 MB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.9533, allocations: 11.94 kB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.9533, allocations: 3.938 kB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.9539, allocations: 88.8 kB / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.9546, allocations: 167.8 kB / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9569, allocations: 1.641 MB / 1.344 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.9578, allocations: 91.39 kB / 1.344 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.958, allocations: 43.91 kB / 1.344 GB, free: 13.69 MB / 1.076 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.0006262/0.9586, allocations: 277.7 kB / 1.344 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.9589, allocations: 82.97 kB / 1.344 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.9616, allocations: 1.101 MB / 1.345 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.9617, allocations: 3.984 kB / 1.345 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9617, allocations: 0 / 1.345 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.9621, allocations: 271.7 kB / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.9623, allocations: 20 kB / 1.346 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.9631, allocations: 74.58 kB / 1.346 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.9632, allocations: 64.91 kB / 1.346 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002367/0.9656, allocations: 0.9786 MB / 1.347 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0026/0.9682, allocations: 1.441 MB / 1.348 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007002/0.9689, allocations: 363.8 kB / 1.349 GB, free: 8.969 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007465/0.9697, allocations: 467 kB / 1.349 GB, free: 8.52 MB / 1.076 GB Notification: Performance of Backend: time 6.01e-07/0.9697, allocations: 4 kB / 1.349 GB, free: 8.516 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.9735, allocations: 1.285 MB / 1.35 GB, free: 7.418 MB / 1.076 GB Notification: Performance of SimCode: time 0.003566/0.9771, allocations: 2.108 MB / 1.352 GB, free: 5.27 MB / 1.076 GB Notification: Performance of Templates: time 0.0312/1.008, allocations: 16.99 MB / 1.369 GB, free: 4.406 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches