Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007952/0.007952, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00191/0.001911, allocations: 192.4 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.586/2.586, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.84 kB / 1.018 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9438, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009902/0.9538, allocations: 8.458 MB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1818/1.136, allocations: 151.8 MB / 1.323 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/1.138, allocations: 23.88 kB / 1.323 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/1.14, allocations: 320.7 kB / 1.323 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003974/1.144, allocations: 0.8592 MB / 1.324 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/1.148, allocations: 1.38 MB / 1.326 GB, free: 368 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004958/1.152, allocations: 3.005 MB / 1.329 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/1.156, allocations: 1.496 MB / 1.33 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/1.158, allocations: 1.18 MB / 1.331 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/1.16, allocations: 1.35 MB / 1.332 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/1.162, allocations: 328 kB / 1.333 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/1.164, allocations: 0.6949 MB / 1.333 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/1.165, allocations: 0.6894 MB / 1.334 GB, free: 7.535 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002765/1.168, allocations: 1.341 MB / 1.335 GB, free: 6.188 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00573/1.173, allocations: 3.679 MB / 1.339 GB, free: 2.496 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.173, allocations: 0 / 1.339 GB, free: 2.496 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.387e-06/1.173, allocations: 4 kB / 1.339 GB, free: 2.492 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.945e-05/1.174, allocations: 3.938 kB / 1.339 GB, free: 2.488 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006392/1.18, allocations: 2.889 MB / 1.342 GB, free: 15.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.18, allocations: 8.031 kB / 1.342 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/1.195, allocations: 2.121 MB / 1.344 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/1.198, allocations: 1.295 MB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.198, allocations: 176.5 kB / 1.345 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/1.198, allocations: 220 kB / 1.346 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009086/1.207, allocations: 3.278 MB / 1.349 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/1.207, allocations: 4 kB / 1.349 GB, free: 8.277 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/1.208, allocations: 92 kB / 1.349 GB, free: 8.188 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/1.208, allocations: 59.88 kB / 1.349 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/1.22, allocations: 4.205 MB / 1.353 GB, free: 3.906 MB / 1.076 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.01635/1.237, allocations: 8.051 MB / 1.361 GB, free: 11.58 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/1.246, allocations: 2.884 MB / 1.364 GB, free: 8.699 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004593/1.251, allocations: 1.489 MB / 1.365 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007816/1.252, allocations: 0.5074 MB / 1.366 GB, free: 6.605 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005423/1.257, allocations: 1.844 MB / 1.367 GB, free: 4.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 3.777e-06/1.257, allocations: 0 / 1.367 GB, free: 4.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01534/1.273, allocations: 4.486 MB / 1.372 GB, free: 236 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/1.273, allocations: 201.9 kB / 1.372 GB, free: 15.99 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/1.275, allocations: 0.9487 MB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000298/1.275, allocations: 61.7 kB / 1.373 GB, free: 14.95 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/1.276, allocations: 0.7601 MB / 1.374 GB, free: 14.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/1.276, allocations: 0.7126 MB / 1.374 GB, free: 13.46 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/1.278, allocations: 395.3 kB / 1.375 GB, free: 13.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.278, allocations: 305.1 kB / 1.375 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004398/1.282, allocations: 1.257 MB / 1.376 GB, free: 11.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/1.287, allocations: 1.437 MB / 1.378 GB, free: 10.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00892/1.296, allocations: 2.614 MB / 1.38 GB, free: 7.422 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.296, allocations: 0 / 1.38 GB, free: 7.422 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01222/1.308, allocations: 3.132 MB / 1.383 GB, free: 4.277 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.308, allocations: 4 kB / 1.383 GB, free: 4.273 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.308, allocations: 8.062 kB / 1.383 GB, free: 4.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/1.309, allocations: 84.77 kB / 1.383 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/1.313, allocations: 0.6046 MB / 1.384 GB, free: 3.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.315, allocations: 1.634 MB / 1.386 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.319, allocations: 370.5 kB / 1.386 GB, free: 1.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/1.32, allocations: 111.9 kB / 1.386 GB, free: 1.324 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001506/1.321, allocations: 436 kB / 1.387 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/1.322, allocations: 163 kB / 1.387 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.334, allocations: 3.716 MB / 1.39 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.335, allocations: 24 kB / 1.39 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.335, allocations: 0 / 1.39 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/1.335, allocations: 11.95 kB / 1.39 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/1.338, allocations: 2.456 MB / 1.393 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.338, allocations: 0 / 1.393 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003684/1.342, allocations: 0.5616 MB / 1.393 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/1.343, allocations: 80.78 kB / 1.393 GB, free: 9.812 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003088/1.343, allocations: 71.91 kB / 1.393 GB, free: 9.742 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.345, allocations: 1.67 MB / 1.395 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.345, allocations: 0 / 1.395 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.356, allocations: 3.223 MB / 1.398 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.357, allocations: 0.546 MB / 1.399 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005527/1.358, allocations: 56.03 kB / 1.399 GB, free: 4.059 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/1.361, allocations: 267.7 kB / 1.399 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.361, allocations: 153.8 kB / 1.399 GB, free: 3.648 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.362, allocations: 95.91 kB / 1.399 GB, free: 3.555 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001178/1.363, allocations: 0.6919 MB / 1.4 GB, free: 2.855 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.363, allocations: 0 / 1.4 GB, free: 2.855 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002026/1.365, allocations: 0.6858 MB / 1.401 GB, free: 2.168 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001723/1.366, allocations: 0.6688 MB / 1.401 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.377, allocations: 3.171 MB / 1.404 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.377, allocations: 0 / 1.404 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/1.382, allocations: 1.759 MB / 1.406 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.384, allocations: 393.6 kB / 1.407 GB, free: 12.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/1.394, allocations: 4.143 MB / 1.411 GB, free: 8.152 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.396, allocations: 1.426 MB / 1.412 GB, free: 6.688 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00398/1.4, allocations: 0.5794 MB / 1.413 GB, free: 6.102 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.401, allocations: 231.2 kB / 1.413 GB, free: 5.879 MB / 1.139 GB Notification: Performance of SimCode: time 8.62e-07/1.401, allocations: 0 / 1.413 GB, free: 5.879 MB / 1.139 GB Notification: Performance of Templates: time 0.05461/1.456, allocations: 31.82 MB / 1.444 GB, free: 6.219 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches