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.008528/0.008528, allocations: 102 kB / 15.73 MB, free: 6.039 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.001445/0.001445, allocations: 193 kB / 16.67 MB, free: 5.961 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8467, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00688/0.8537, allocations: 4.857 MB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1909/1.045, allocations: 150.6 MB / 1.36 GB, free: 1.543 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/1.046, allocations: 19.88 kB / 1.36 GB, free: 1.523 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/1.047, allocations: 178.3 kB / 1.36 GB, free: 1.348 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003145/1.05, allocations: 0.5473 MB / 1.36 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/1.053, allocations: 0.8337 MB / 1.361 GB, free: 15.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001773/1.055, allocations: 1.382 MB / 1.362 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009656/1.056, allocations: 0.5754 MB / 1.363 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/1.057, allocations: 486.3 kB / 1.363 GB, free: 13.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/1.058, allocations: 0.4978 MB / 1.364 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/1.058, allocations: 112 kB / 1.364 GB, free: 12.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/1.059, allocations: 479.6 kB / 1.364 GB, free: 12.44 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/1.059, allocations: 299 kB / 1.365 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006082/1.06, allocations: 0.5519 MB / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/1.062, allocations: 1.626 MB / 1.367 GB, free: 9.961 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.062, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.084e-06/1.062, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.705e-05/1.062, allocations: 0 / 1.367 GB, free: 9.961 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.003201/1.065, allocations: 1.418 MB / 1.368 GB, free: 8.488 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.065, allocations: 11.97 kB / 1.368 GB, free: 8.477 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.066, allocations: 191.4 kB / 1.368 GB, free: 8.289 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.068, allocations: 0.7578 MB / 1.369 GB, free: 7.492 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/1.068, allocations: 62 kB / 1.369 GB, free: 7.43 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.068, allocations: 80 kB / 1.369 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/1.069, allocations: 0.9183 MB / 1.37 GB, free: 6.395 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.069, allocations: 0 / 1.37 GB, free: 6.395 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/1.069, allocations: 32 kB / 1.37 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/1.07, allocations: 23.94 kB / 1.37 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/1.071, allocations: 1.104 MB / 1.371 GB, free: 5.234 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.004057/1.075, allocations: 2.676 MB / 1.374 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/1.077, allocations: 0.8019 MB / 1.375 GB, free: 1.637 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/1.077, allocations: 298.6 kB / 1.375 GB, free: 1.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.472e-05/1.077, allocations: 32.61 kB / 1.375 GB, free: 1.309 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/1.078, allocations: 495.2 kB / 1.376 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 2.023e-06/1.078, allocations: 0 / 1.376 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.003175/1.081, allocations: 1.194 MB / 1.377 GB, free: 15.58 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/1.082, allocations: 192.6 kB / 1.377 GB, free: 15.35 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/1.082, allocations: 0.6293 MB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/1.082, allocations: 41.7 kB / 1.378 GB, free: 14.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/1.083, allocations: 400.3 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.083, allocations: 260.2 kB / 1.378 GB, free: 14.01 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/1.083, allocations: 166.4 kB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.083, allocations: 394.7 kB / 1.379 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/1.084, allocations: 269.8 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/1.085, allocations: 359.1 kB / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.086, allocations: 0.6072 MB / 1.38 GB, free: 12.2 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.086, allocations: 0 / 1.38 GB, free: 12.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001971/1.088, allocations: 0.8566 MB / 1.381 GB, free: 11.33 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.088, allocations: 4 kB / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.088, allocations: 0 / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/1.088, allocations: 84.83 kB / 1.381 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/1.089, allocations: 163.7 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/1.091, allocations: 1.633 MB / 1.383 GB, free: 9.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/1.092, allocations: 91.39 kB / 1.383 GB, free: 9.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/1.092, allocations: 39.97 kB / 1.383 GB, free: 9.176 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.000474/1.093, allocations: 263.4 kB / 1.383 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.093, allocations: 87.14 kB / 1.383 GB, free: 8.824 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.095, allocations: 1.054 MB / 1.384 GB, free: 7.754 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.095, allocations: 8 kB / 1.384 GB, free: 7.746 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.096, allocations: 7.938 kB / 1.384 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.096, allocations: 3.984 kB / 1.384 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/1.097, allocations: 0.8956 MB / 1.385 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.097, allocations: 0 / 1.385 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/1.097, allocations: 147.7 kB / 1.385 GB, free: 6.645 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/1.098, allocations: 72.78 kB / 1.385 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/1.098, allocations: 27.97 kB / 1.385 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.1, allocations: 1.658 MB / 1.387 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.1, allocations: 0 / 1.387 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.102, allocations: 0.9278 MB / 1.388 GB, free: 3.789 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/1.102, allocations: 271.7 kB / 1.388 GB, free: 3.504 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.102, allocations: 20 kB / 1.388 GB, free: 3.484 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/1.103, allocations: 62.06 kB / 1.388 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.103, allocations: 80.89 kB / 1.388 GB, free: 3.344 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/1.103, allocations: 31.92 kB / 1.388 GB, free: 3.312 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005825/1.104, allocations: 459 kB / 1.389 GB, free: 2.867 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/1.104, allocations: 0 / 1.389 GB, free: 2.867 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009541/1.105, allocations: 323.2 kB / 1.389 GB, free: 2.551 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.001499/1.106, allocations: 0.5989 MB / 1.39 GB, free: 2.125 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00171/1.108, allocations: 0.8273 MB / 1.39 GB, free: 1.289 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.108, allocations: 0 / 1.39 GB, free: 1.289 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009478/1.109, allocations: 0.5237 MB / 1.391 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.11, allocations: 293.4 kB / 1.391 GB, free: 500 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/1.113, allocations: 1.613 MB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.114, allocations: 1.02 MB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007823/1.115, allocations: 266.6 kB / 1.394 GB, free: 13.53 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/1.115, allocations: 111.3 kB / 1.394 GB, free: 13.42 MB / 1.123 GB Notification: Performance of SimCode: time 4.91e-07/1.115, allocations: 0 / 1.394 GB, free: 13.42 MB / 1.123 GB Notification: Performance of Templates: time 0.02684/1.142, allocations: 15.48 MB / 1.409 GB, free: 14.15 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches