Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.00196/0.00196, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.89 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7902, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01297/0.8032, allocations: 11.88 MB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.9723, allocations: 152.7 MB / 1.328 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.9746, allocations: 31.88 kB / 1.328 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.9762, allocations: 459.3 kB / 1.328 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.9806, allocations: 1.193 MB / 1.33 GB, free: 13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.9844, allocations: 1.677 MB / 1.331 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.9897, allocations: 4.208 MB / 1.335 GB, free: 7.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.9933, allocations: 2.375 MB / 1.338 GB, free: 4.652 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.9957, allocations: 1.776 MB / 1.339 GB, free: 2.871 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.9996, allocations: 1.977 MB / 1.341 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001749/1.001, allocations: 0.5469 MB / 1.342 GB, free: 348 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/1.004, allocations: 0.9292 MB / 1.343 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/1.005, allocations: 1.06 MB / 1.344 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/1.008, allocations: 2.085 MB / 1.346 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007305/1.016, allocations: 5.891 MB / 1.352 GB, free: 6.344 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.016, allocations: 0 / 1.352 GB, free: 6.344 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.016, allocations: 0 / 1.352 GB, free: 6.344 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001789/1.016, allocations: 4 kB / 1.352 GB, free: 6.34 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.0103/1.026, allocations: 3.902 MB / 1.355 GB, free: 2.355 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.026, allocations: 8.922 kB / 1.355 GB, free: 2.348 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.043, allocations: 2.238 MB / 1.358 GB, free: 108 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/1.047, allocations: 1.766 MB / 1.359 GB, free: 14.28 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.047, allocations: 258.9 kB / 1.36 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009866/1.048, allocations: 335.9 kB / 1.36 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/1.061, allocations: 4.453 MB / 1.364 GB, free: 9.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.23e-05/1.061, allocations: 0 / 1.364 GB, free: 9.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007138/1.062, allocations: 144 kB / 1.364 GB, free: 9.039 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/1.062, allocations: 84 kB / 1.364 GB, free: 8.957 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/1.078, allocations: 5.151 MB / 1.369 GB, free: 3.797 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.02371/1.101, allocations: 12.5 MB / 1.382 GB, free: 6.797 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.112, allocations: 3.39 MB / 1.385 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/1.117, allocations: 1.732 MB / 1.387 GB, free: 1.672 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/1.118, allocations: 0.523 MB / 1.387 GB, free: 1.059 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005818/1.124, allocations: 2.153 MB / 1.389 GB, free: 14.88 MB / 1.123 GB Notification: Performance of pre-optimization done (n=249): time 6.122e-06/1.124, allocations: 0 / 1.389 GB, free: 14.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=249): time 0.01709/1.141, allocations: 5.208 MB / 1.394 GB, free: 9.648 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.141, allocations: 213.9 kB / 1.395 GB, free: 9.395 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.143, allocations: 1.296 MB / 1.396 GB, free: 8.082 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002768/1.143, allocations: 73.7 kB / 1.396 GB, free: 8.004 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/1.144, allocations: 1.148 MB / 1.397 GB, free: 6.848 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/1.145, allocations: 0.8327 MB / 1.398 GB, free: 6.008 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.146, allocations: 464 kB / 1.398 GB, free: 5.547 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.147, allocations: 305.1 kB / 1.399 GB, free: 5.246 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/1.151, allocations: 1.48 MB / 1.4 GB, free: 3.762 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/1.156, allocations: 1.679 MB / 1.402 GB, free: 2.047 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009644/1.166, allocations: 3.071 MB / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.166, allocations: 0 / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01154/1.177, allocations: 3.672 MB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.178, allocations: 4 kB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.178, allocations: 8.062 kB / 1.408 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/1.178, allocations: 84.98 kB / 1.408 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/1.182, allocations: 0.6747 MB / 1.409 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.185, allocations: 1.642 MB / 1.411 GB, free: 8.641 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.188, allocations: 422.1 kB / 1.411 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/1.188, allocations: 115.9 kB / 1.411 GB, free: 8.113 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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.001472/1.19, allocations: 0.6106 MB / 1.412 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/1.191, allocations: 202.7 kB / 1.412 GB, free: 7.293 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.204, allocations: 4.356 MB / 1.416 GB, free: 2.871 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/1.204, allocations: 11.95 kB / 1.416 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.204, allocations: 0 / 1.416 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.205, allocations: 0.7135 MB / 1.417 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/1.206, allocations: 71.84 kB / 1.417 GB, free: 2.055 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.209, allocations: 279.7 kB / 1.417 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/1.21, allocations: 181.9 kB / 1.417 GB, free: 1.602 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01347/1.223, allocations: 3.962 MB / 1.421 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01612/1.239, allocations: 5.932 MB / 1.427 GB, free: 7.57 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00485/1.244, allocations: 1.774 MB / 1.429 GB, free: 5.781 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001766/1.246, allocations: 0.9637 MB / 1.43 GB, free: 4.82 MB / 1.154 GB Notification: Performance of Backend: time 7.52e-07/1.246, allocations: 0 / 1.43 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009341/1.255, allocations: 2.909 MB / 1.433 GB, free: 2.098 MB / 1.154 GB Notification: Performance of SimCode: time 0.008402/1.264, allocations: 4.763 MB / 1.437 GB, free: 13.29 MB / 1.17 GB Notification: Performance of Templates: time 0.0793/1.343, allocations: 50.55 MB / 1.487 GB, free: 10.9 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches