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.004703/0.004703, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001071/0.001071, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 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.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.89 kB / 1.018 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9355, 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.007281/0.9428, allocations: 5.132 MB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1631/1.106, allocations: 150.7 MB / 1.319 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.107, allocations: 19.88 kB / 1.319 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006489/1.108, allocations: 198.1 kB / 1.319 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/1.11, allocations: 0.5632 MB / 1.319 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/1.112, allocations: 0.8649 MB / 1.32 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001392/1.113, allocations: 1.436 MB / 1.322 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/1.114, allocations: 0.6555 MB / 1.322 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/1.115, allocations: 0.5139 MB / 1.323 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/1.115, allocations: 0.5484 MB / 1.323 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/1.115, allocations: 124 kB / 1.324 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/1.116, allocations: 499.6 kB / 1.324 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/1.117, allocations: 319 kB / 1.324 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000517/1.117, allocations: 0.5947 MB / 1.325 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/1.12, allocations: 1.748 MB / 1.327 GB, free: 15.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.12, allocations: 4 kB / 1.327 GB, free: 15.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.086e-06/1.12, allocations: 0 / 1.327 GB, free: 15.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.922e-05/1.12, allocations: 4 kB / 1.327 GB, free: 15.27 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.002974/1.123, allocations: 1.522 MB / 1.328 GB, free: 13.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.123, allocations: 12.92 kB / 1.328 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/1.124, allocations: 224 kB / 1.328 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.125, allocations: 0.7856 MB / 1.329 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/1.125, allocations: 74 kB / 1.329 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.125, allocations: 88 kB / 1.329 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/1.127, allocations: 1.007 MB / 1.33 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.127, allocations: 3.938 kB / 1.33 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/1.127, allocations: 36 kB / 1.33 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.127, allocations: 24 kB / 1.33 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/1.129, allocations: 1.179 MB / 1.331 GB, free: 10.2 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.004088/1.133, allocations: 2.861 MB / 1.334 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/1.136, allocations: 0.9793 MB / 1.335 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/1.136, allocations: 318.7 kB / 1.335 GB, free: 5.895 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/1.136, allocations: 28.62 kB / 1.336 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/1.137, allocations: 0.5047 MB / 1.336 GB, free: 5.344 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/1.137, allocations: 0 / 1.336 GB, free: 5.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003099/1.14, allocations: 1.241 MB / 1.337 GB, free: 4.078 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/1.14, allocations: 192.5 kB / 1.337 GB, free: 3.848 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/1.141, allocations: 0.641 MB / 1.338 GB, free: 3.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/1.141, allocations: 45.7 kB / 1.338 GB, free: 3.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/1.142, allocations: 421.1 kB / 1.338 GB, free: 2.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.142, allocations: 285.6 kB / 1.339 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/1.142, allocations: 166.5 kB / 1.339 GB, free: 2.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.142, allocations: 386.8 kB / 1.339 GB, free: 1.895 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/1.143, allocations: 273.8 kB / 1.34 GB, free: 1.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/1.143, allocations: 383 kB / 1.34 GB, free: 1.238 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.145, allocations: 0.6268 MB / 1.341 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.145, allocations: 64 / 1.341 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001917/1.146, allocations: 0.8803 MB / 1.341 GB, free: 15.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.146, allocations: 4 kB / 1.341 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.146, allocations: 3.938 kB / 1.341 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/1.147, allocations: 84.86 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/1.148, allocations: 167.8 kB / 1.342 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/1.15, allocations: 1.632 MB / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/1.151, allocations: 110 kB / 1.343 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/1.151, allocations: 39.95 kB / 1.343 GB, free: 13.53 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.0003646/1.151, allocations: 267.4 kB / 1.344 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/1.151, allocations: 95.42 kB / 1.344 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.153, allocations: 1.097 MB / 1.345 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.153, allocations: 8 kB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.154, allocations: 3.984 kB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.154, allocations: 3.984 kB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/1.157, allocations: 2.001 MB / 1.347 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.157, allocations: 0 / 1.347 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/1.157, allocations: 151.8 kB / 1.347 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/1.158, allocations: 72.78 kB / 1.347 GB, free: 9.754 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/1.158, allocations: 27.92 kB / 1.347 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.16, allocations: 1.662 MB / 1.349 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.16, allocations: 0 / 1.349 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.162, allocations: 1.018 MB / 1.35 GB, free: 6.879 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.162, allocations: 280.2 kB / 1.35 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.162, allocations: 24 kB / 1.35 GB, free: 6.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/1.163, allocations: 63.92 kB / 1.35 GB, free: 6.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.163, allocations: 68.91 kB / 1.35 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/1.163, allocations: 36.11 kB / 1.35 GB, free: 6.398 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005162/1.163, allocations: 467 kB / 1.351 GB, free: 5.945 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.163, allocations: 8 kB / 1.351 GB, free: 5.938 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008333/1.164, allocations: 351 kB / 1.351 GB, free: 5.594 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.001309/1.166, allocations: 0.5914 MB / 1.351 GB, free: 5.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.167, allocations: 0.8509 MB / 1.352 GB, free: 4.297 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.167, allocations: 4 kB / 1.352 GB, free: 4.293 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009394/1.168, allocations: 0.5392 MB / 1.353 GB, free: 3.742 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/1.169, allocations: 316.7 kB / 1.353 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.172, allocations: 1.742 MB / 1.355 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/1.173, allocations: 1.035 MB / 1.356 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000852/1.174, allocations: 282.7 kB / 1.356 GB, free: 344 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/1.174, allocations: 103.4 kB / 1.356 GB, free: 240 kB / 1.076 GB Notification: Performance of SimCode: time 4.1e-07/1.174, allocations: 4 kB / 1.356 GB, free: 236 kB / 1.076 GB Notification: Performance of Templates: time 0.02752/1.202, allocations: 15.73 MB / 1.372 GB, free: 0.6445 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/jenkins/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