Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_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_latest_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.001379/0.001379, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001444/0.001444, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.384/1.384, 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 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7254, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006465/0.7319, allocations: 4.856 MB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1625/0.8944, allocations: 150.6 MB / 1.36 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.8956, allocations: 15.94 kB / 1.36 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.8966, allocations: 190.2 kB / 1.36 GB, free: 1.402 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.899, allocations: 0.5515 MB / 1.361 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.9014, allocations: 0.825 MB / 1.362 GB, free: 32 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.9033, allocations: 1.386 MB / 1.363 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.9044, allocations: 0.5831 MB / 1.364 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.9053, allocations: 486.3 kB / 1.364 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.9062, allocations: 0.5017 MB / 1.365 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.9064, allocations: 116 kB / 1.365 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.9076, allocations: 483.6 kB / 1.365 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.908, allocations: 295.1 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.9087, allocations: 0.548 MB / 1.366 GB, free: 11.63 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.911, allocations: 1.622 MB / 1.368 GB, free: 10.01 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.911, allocations: 0 / 1.368 GB, free: 10.01 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.553e-06/0.911, allocations: 0 / 1.368 GB, free: 10.01 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.853e-05/0.9111, allocations: 0 / 1.368 GB, free: 10.01 MB / 1.092 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.003069/0.9141, allocations: 1.422 MB / 1.369 GB, free: 8.531 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9142, allocations: 8.031 kB / 1.369 GB, free: 8.523 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.9152, allocations: 187.4 kB / 1.369 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.9165, allocations: 0.7539 MB / 1.37 GB, free: 7.547 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.9166, allocations: 65.98 kB / 1.37 GB, free: 7.48 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.9167, allocations: 84 kB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.9185, allocations: 0.9183 MB / 1.371 GB, free: 6.441 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.9186, allocations: 3.984 kB / 1.371 GB, free: 6.438 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.9187, allocations: 32 kB / 1.371 GB, free: 6.406 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.9187, allocations: 20 kB / 1.371 GB, free: 6.387 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.9206, allocations: 1.1 MB / 1.372 GB, free: 5.285 MB / 1.092 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.004692/0.9253, allocations: 2.677 MB / 1.375 GB, free: 2.492 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.9269, allocations: 0.7941 MB / 1.375 GB, free: 1.691 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.9275, allocations: 306.6 kB / 1.376 GB, free: 1.387 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.9276, allocations: 36.67 kB / 1.376 GB, free: 1.352 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/0.9284, allocations: 487.2 kB / 1.376 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 4.408e-06/0.9285, allocations: 0 / 1.376 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.00333/0.9318, allocations: 1.198 MB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.9319, allocations: 188.6 kB / 1.378 GB, free: 15.4 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.9329, allocations: 0.6332 MB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.933, allocations: 41.7 kB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.9334, allocations: 396.3 kB / 1.379 GB, free: 14.32 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.9337, allocations: 264.1 kB / 1.379 GB, free: 14.06 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.934, allocations: 162.5 kB / 1.379 GB, free: 13.89 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.9342, allocations: 394.6 kB / 1.379 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.9347, allocations: 269.8 kB / 1.38 GB, free: 13.23 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.9354, allocations: 367.1 kB / 1.38 GB, free: 12.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.9366, allocations: 0.6111 MB / 1.381 GB, free: 12.24 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9366, allocations: 3.938 kB / 1.381 GB, free: 12.24 MB / 1.107 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0021/0.9387, allocations: 0.8488 MB / 1.381 GB, free: 11.38 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9387, allocations: 4 kB / 1.381 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9387, allocations: 0 / 1.381 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.9393, allocations: 92.81 kB / 1.382 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.94, allocations: 167.7 kB / 1.382 GB, free: 11.11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.9424, allocations: 1.621 MB / 1.383 GB, free: 9.352 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.9433, allocations: 91.33 kB / 1.383 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.9434, allocations: 35.97 kB / 1.383 GB, free: 9.227 MB / 1.107 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.000548/0.9439, allocations: 273.1 kB / 1.384 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.9442, allocations: 86.95 kB / 1.384 GB, free: 8.863 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.9467, allocations: 1.054 MB / 1.385 GB, free: 7.793 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.9467, allocations: 8 kB / 1.385 GB, free: 7.785 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9467, allocations: 3.938 kB / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9467, allocations: 3.984 kB / 1.385 GB, free: 7.777 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.948, allocations: 0.8918 MB / 1.386 GB, free: 6.836 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.948, allocations: 0 / 1.386 GB, free: 6.836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.9486, allocations: 147.8 kB / 1.386 GB, free: 6.691 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.949, allocations: 76.78 kB / 1.386 GB, free: 6.613 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.9491, allocations: 19.98 kB / 1.386 GB, free: 6.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.9511, allocations: 1.662 MB / 1.388 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9511, allocations: 0 / 1.388 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.9532, allocations: 0.924 MB / 1.388 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.9537, allocations: 267.7 kB / 1.389 GB, free: 3.559 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.9538, allocations: 27.98 kB / 1.389 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.9545, allocations: 59.94 kB / 1.389 GB, free: 3.473 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.9547, allocations: 72.89 kB / 1.389 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.9547, allocations: 35.92 kB / 1.389 GB, free: 3.363 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006402/0.9554, allocations: 466.9 kB / 1.389 GB, free: 2.91 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9554, allocations: 0 / 1.389 GB, free: 2.91 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009001/0.9563, allocations: 323.2 kB / 1.39 GB, free: 2.594 MB / 1.107 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.001466/0.9578, allocations: 0.602 MB / 1.39 GB, free: 2.172 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.9596, allocations: 0.8274 MB / 1.391 GB, free: 1.336 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9596, allocations: 0 / 1.391 GB, free: 1.336 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.9607, allocations: 0.5158 MB / 1.392 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.962, allocations: 293.3 kB / 1.392 GB, free: 0.543 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.9653, allocations: 1.666 MB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.966, allocations: 1.019 MB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.9663, allocations: 115.4 kB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/0.9664, allocations: 0 / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of Templates: time 0.02867/0.995, allocations: 18.5 MB / 1.413 GB, free: 11.26 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time