Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009253/0.009253, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001725/0.001725, allocations: 193 kB / 16.67 MB, free: 6.352 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.629/2.629, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006514/0.3608, allocations: 4.86 MB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9184/1.279, allocations: 150.6 MB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/1.28, allocations: 15.22 kB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/1.281, allocations: 195.4 kB / 1.319 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/1.284, allocations: 0.5391 MB / 1.319 GB, free: 9.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/1.286, allocations: 0.8377 MB / 1.32 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002083/1.288, allocations: 1.376 MB / 1.321 GB, free: 9.578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000977/1.289, allocations: 0.575 MB / 1.322 GB, free: 9.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009154/1.29, allocations: 490.8 kB / 1.322 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/1.291, allocations: 0.4931 MB / 1.323 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/1.291, allocations: 115.1 kB / 1.323 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.292, allocations: 492.4 kB / 1.323 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/1.293, allocations: 292.2 kB / 1.324 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006173/1.293, allocations: 0.5542 MB / 1.324 GB, free: 8.766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/1.296, allocations: 1.63 MB / 1.326 GB, free: 8.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.296, allocations: 0.5156 kB / 1.326 GB, free: 8.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.96e-06/1.296, allocations: 0 / 1.326 GB, free: 8.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.582e-05/1.296, allocations: 4.969 kB / 1.326 GB, free: 8.07 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003105/1.299, allocations: 1.457 MB / 1.327 GB, free: 7.066 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.299, allocations: 16.98 kB / 1.327 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/1.3, allocations: 190.4 kB / 1.327 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/1.302, allocations: 0.7557 MB / 1.328 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/1.302, allocations: 64.94 kB / 1.328 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.302, allocations: 81.66 kB / 1.328 GB, free: 6.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.304, allocations: 0.9238 MB / 1.329 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/1.304, allocations: 0 / 1.329 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/1.304, allocations: 36.97 kB / 1.329 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/1.304, allocations: 19.81 kB / 1.329 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/1.306, allocations: 1.1 MB / 1.33 GB, free: 5.742 MB / 1.014 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.00469/1.311, allocations: 2.685 MB / 1.333 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.312, allocations: 0.804 MB / 1.334 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/1.313, allocations: 298.3 kB / 1.334 GB, free: 3.676 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/1.313, allocations: 37.39 kB / 1.334 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/1.314, allocations: 490.3 kB / 1.335 GB, free: 3.461 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.535e-06/1.314, allocations: 3.938 kB / 1.335 GB, free: 3.457 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003251/1.317, allocations: 1.194 MB / 1.336 GB, free: 2.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/1.317, allocations: 190.4 kB / 1.336 GB, free: 2.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/1.318, allocations: 0.6319 MB / 1.336 GB, free: 2.457 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/1.318, allocations: 42.7 kB / 1.337 GB, free: 2.414 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/1.318, allocations: 398.8 kB / 1.337 GB, free: 2.102 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.319, allocations: 277.6 kB / 1.337 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/1.319, allocations: 168.2 kB / 1.337 GB, free: 1.805 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.319, allocations: 389.7 kB / 1.338 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/1.32, allocations: 268.2 kB / 1.338 GB, free: 1.363 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/1.32, allocations: 364 kB / 1.338 GB, free: 1.203 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.322, allocations: 0.6092 MB / 1.339 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.322, allocations: 0.8438 kB / 1.339 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002069/1.324, allocations: 0.8499 MB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.324, allocations: 5.594 kB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.324, allocations: 2.906 kB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/1.324, allocations: 86.3 kB / 1.34 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/1.325, allocations: 162.5 kB / 1.34 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.327, allocations: 1.639 MB / 1.342 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/1.328, allocations: 91.48 kB / 1.342 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/1.328, allocations: 33.08 kB / 1.342 GB, free: 14.95 MB / 1.029 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 (95): * Single equations (assignments): 94 * 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.0005202/1.329, allocations: 279.1 kB / 1.342 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.329, allocations: 84.52 kB / 1.342 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/1.331, allocations: 1.06 MB / 1.343 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.331, allocations: 9.156 kB / 1.343 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.331, allocations: 0 / 1.343 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.331, allocations: 9.516 kB / 1.343 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.332, allocations: 0.8867 MB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.332, allocations: 1.375 kB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/1.333, allocations: 149.8 kB / 1.344 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/1.333, allocations: 67.59 kB / 1.344 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/1.334, allocations: 27.14 kB / 1.344 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.335, allocations: 1.651 MB / 1.346 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.335, allocations: 1.25 kB / 1.346 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/1.338, allocations: 0.9312 MB / 1.347 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/1.338, allocations: 272.2 kB / 1.347 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.338, allocations: 27.33 kB / 1.347 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/1.339, allocations: 64.77 kB / 1.347 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.339, allocations: 66.94 kB / 1.347 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/1.339, allocations: 37.22 kB / 1.347 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006389/1.34, allocations: 459.4 kB / 1.348 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.34, allocations: 1.125 kB / 1.348 GB, free: 11.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001102/1.341, allocations: 333.3 kB / 1.348 GB, free: 11.24 MB / 1.029 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001412/1.342, allocations: 0.602 MB / 1.349 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.344, allocations: 0.831 MB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.344, allocations: 1.406 kB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009988/1.345, allocations: 0.5142 MB / 1.35 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.347, allocations: 302.2 kB / 1.35 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/1.35, allocations: 1.669 MB / 1.352 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.351, allocations: 1.014 MB / 1.353 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009516/1.351, allocations: 264.3 kB / 1.353 GB, free: 8.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/1.352, allocations: 107.5 kB / 1.353 GB, free: 8.605 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/1.352, allocations: 1 kB / 1.353 GB, free: 8.605 MB / 1.029 GB Notification: Performance of Templates: time 0.02897/1.381, allocations: 15.19 MB / 1.368 GB, free: 1.633 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches