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.001378/0.001378, allocations: 108.1 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.001363/0.001363, allocations: 189.5 kB / 17.34 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.322/1.322, 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 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8527, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00764/0.8604, allocations: 5.122 MB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1726/1.033, allocations: 150.7 MB / 1.319 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/1.034, allocations: 15.88 kB / 1.319 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/1.035, allocations: 198.1 kB / 1.32 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002621/1.038, allocations: 0.5665 MB / 1.32 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/1.04, allocations: 0.8574 MB / 1.321 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002143/1.043, allocations: 1.436 MB / 1.322 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/1.044, allocations: 0.6521 MB / 1.323 GB, free: 3.633 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/1.045, allocations: 0.5139 MB / 1.324 GB, free: 3.117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/1.046, allocations: 0.5406 MB / 1.324 GB, free: 2.574 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/1.046, allocations: 135.9 kB / 1.324 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/1.048, allocations: 495.6 kB / 1.325 GB, free: 1.957 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/1.048, allocations: 323 kB / 1.325 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/1.049, allocations: 0.6025 MB / 1.326 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/1.052, allocations: 1.738 MB / 1.327 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.052, allocations: 0 / 1.327 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/1.052, allocations: 0 / 1.327 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.664e-05/1.052, allocations: 0 / 1.327 GB, free: 15.29 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.003576/1.056, allocations: 1.492 MB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.056, allocations: 8.922 kB / 1.329 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.057, allocations: 215.3 kB / 1.329 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.058, allocations: 0.7734 MB / 1.33 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/1.058, allocations: 74 kB / 1.33 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.059, allocations: 91.98 kB / 1.33 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/1.061, allocations: 1.011 MB / 1.331 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.061, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.061, allocations: 40 kB / 1.331 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/1.061, allocations: 27.94 kB / 1.331 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/1.063, allocations: 1.179 MB / 1.332 GB, free: 10.26 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.005233/1.068, allocations: 2.853 MB / 1.335 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.071, allocations: 0.9748 MB / 1.336 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/1.071, allocations: 318.7 kB / 1.336 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/1.072, allocations: 24.62 kB / 1.336 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009502/1.072, allocations: 0.503 MB / 1.337 GB, free: 5.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 3.838e-06/1.072, allocations: 0 / 1.337 GB, free: 5.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003548/1.076, allocations: 1.233 MB / 1.338 GB, free: 4.164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.076, allocations: 200.5 kB / 1.338 GB, free: 3.926 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.077, allocations: 0.6371 MB / 1.339 GB, free: 3.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.816e-05/1.077, allocations: 45.7 kB / 1.339 GB, free: 3.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/1.078, allocations: 420.3 kB / 1.339 GB, free: 2.812 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.078, allocations: 264.2 kB / 1.339 GB, free: 2.551 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.078, allocations: 170.4 kB / 1.34 GB, free: 2.379 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.078, allocations: 386.8 kB / 1.34 GB, free: 1.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/1.079, allocations: 281.8 kB / 1.34 GB, free: 1.719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/1.08, allocations: 371 kB / 1.341 GB, free: 1.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/1.081, allocations: 0.6229 MB / 1.341 GB, free: 0.707 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.081, allocations: 7.875 kB / 1.341 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002258/1.083, allocations: 0.8761 MB / 1.342 GB, free: 15.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.083, allocations: 8.094 kB / 1.342 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.083, allocations: 4 kB / 1.342 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/1.084, allocations: 84.77 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/1.085, allocations: 167.7 kB / 1.342 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/1.087, allocations: 1.632 MB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/1.088, allocations: 102.2 kB / 1.344 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.088, allocations: 39.97 kB / 1.344 GB, free: 13.63 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.0005502/1.089, allocations: 277.6 kB / 1.344 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/1.089, allocations: 82.97 kB / 1.344 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.092, allocations: 1.097 MB / 1.345 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.092, allocations: 8 kB / 1.345 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.092, allocations: 0 / 1.345 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.092, allocations: 7.969 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/1.096, allocations: 1.997 MB / 1.347 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.096, allocations: 0 / 1.347 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/1.096, allocations: 155.7 kB / 1.347 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.097, allocations: 68.8 kB / 1.348 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/1.097, allocations: 27.97 kB / 1.348 GB, free: 9.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/1.099, allocations: 1.655 MB / 1.349 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.099, allocations: 8.125 kB / 1.349 GB, free: 8.031 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.101, allocations: 1.018 MB / 1.35 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/1.102, allocations: 279.7 kB / 1.35 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.102, allocations: 20 kB / 1.35 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/1.103, allocations: 67.94 kB / 1.351 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.103, allocations: 68.89 kB / 1.351 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.103, allocations: 39.97 kB / 1.351 GB, free: 6.508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007386/1.104, allocations: 471 kB / 1.351 GB, free: 6.051 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.603e-06/1.104, allocations: 0 / 1.351 GB, free: 6.051 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001031/1.105, allocations: 339 kB / 1.351 GB, free: 5.719 MB / 1.076 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.001523/1.107, allocations: 0.606 MB / 1.352 GB, free: 5.273 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001944/1.109, allocations: 0.8509 MB / 1.353 GB, free: 4.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.109, allocations: 4 kB / 1.353 GB, free: 4.406 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.11, allocations: 0.5315 MB / 1.353 GB, free: 3.863 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.111, allocations: 303.9 kB / 1.354 GB, free: 3.586 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/1.115, allocations: 1.758 MB / 1.355 GB, free: 1.793 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/1.116, allocations: 1.035 MB / 1.356 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/1.116, allocations: 123.4 kB / 1.357 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.116, allocations: 0 / 1.357 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of Templates: time 0.02906/1.145, allocations: 19.42 MB / 1.375 GB, free: 13.21 MB / 1.107 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