Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005105/0.005105, allocations: 103.5 kB / 15.73 MB, free: 6.445 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.001104/0.001104, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.88 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3532, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007279/0.3605, allocations: 5.956 MB / 1.214 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.029/1.39, allocations: 150.8 MB / 1.361 GB, free: 8.395 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/1.392, allocations: 17.16 kB / 1.361 GB, free: 8.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/1.394, allocations: 242.2 kB / 1.361 GB, free: 8.234 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/1.398, allocations: 0.6215 MB / 1.362 GB, free: 7.863 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/1.403, allocations: 0.8695 MB / 1.363 GB, free: 7.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003943/1.407, allocations: 1.645 MB / 1.364 GB, free: 6.555 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.408, allocations: 0.8739 MB / 1.365 GB, free: 6.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/1.41, allocations: 0.6153 MB / 1.366 GB, free: 5.777 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/1.411, allocations: 0.6567 MB / 1.366 GB, free: 5.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/1.411, allocations: 154.3 kB / 1.366 GB, free: 5.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/1.412, allocations: 0.5167 MB / 1.367 GB, free: 5.309 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/1.413, allocations: 374.5 kB / 1.367 GB, free: 5.062 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/1.414, allocations: 0.7358 MB / 1.368 GB, free: 4.578 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/1.417, allocations: 2.036 MB / 1.37 GB, free: 3.703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.417, allocations: 0 / 1.37 GB, free: 3.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.417, allocations: 4 kB / 1.37 GB, free: 3.699 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.276e-05/1.417, allocations: 3.75 kB / 1.37 GB, free: 3.699 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003463/1.42, allocations: 1.707 MB / 1.372 GB, free: 2.574 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.42, allocations: 10.59 kB / 1.372 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.422, allocations: 223.9 kB / 1.372 GB, free: 2.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/1.423, allocations: 0.8701 MB / 1.373 GB, free: 1.895 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/1.423, allocations: 86.34 kB / 1.373 GB, free: 1.855 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.424, allocations: 117.3 kB / 1.373 GB, free: 1.816 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/1.426, allocations: 1.211 MB / 1.374 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.426, allocations: 0 / 1.374 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.426, allocations: 47.38 kB / 1.374 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.426, allocations: 33.56 kB / 1.374 GB, free: 1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/1.428, allocations: 1.288 MB / 1.375 GB, free: 388 kB / 1.061 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.005821/1.434, allocations: 3.525 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.436, allocations: 0.8696 MB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/1.437, allocations: 326.9 kB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.45e-05/1.437, allocations: 30.94 kB / 1.38 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000988/1.438, allocations: 0.5211 MB / 1.381 GB, free: 12.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 2.405e-06/1.438, allocations: 0 / 1.381 GB, free: 12.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.003718/1.441, allocations: 1.285 MB / 1.382 GB, free: 11.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/1.442, allocations: 190.7 kB / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.443, allocations: 0.733 MB / 1.383 GB, free: 11.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/1.443, allocations: 43.42 kB / 1.383 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/1.443, allocations: 0.514 MB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.444, allocations: 287.6 kB / 1.384 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/1.444, allocations: 175.9 kB / 1.384 GB, free: 10.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.444, allocations: 342.5 kB / 1.384 GB, free: 10.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/1.445, allocations: 291.3 kB / 1.384 GB, free: 9.914 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/1.445, allocations: 399 kB / 1.385 GB, free: 9.688 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.447, allocations: 0.65 MB / 1.385 GB, free: 9.344 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.447, allocations: 5.375 kB / 1.385 GB, free: 9.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002408/1.449, allocations: 0.9267 MB / 1.386 GB, free: 8.867 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.449, allocations: 4.219 kB / 1.386 GB, free: 8.867 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.449, allocations: 2.062 kB / 1.386 GB, free: 8.867 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/1.45, allocations: 87.8 kB / 1.386 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/1.451, allocations: 177.2 kB / 1.386 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/1.453, allocations: 1.631 MB / 1.388 GB, free: 7.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.454, allocations: 106.4 kB / 1.388 GB, free: 7.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/1.455, allocations: 36.22 kB / 1.388 GB, free: 7.102 MB / 1.076 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 (104): * Single equations (assignments): 103 * 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.0007626/1.455, allocations: 300.4 kB / 1.388 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.455, allocations: 92.97 kB / 1.389 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/1.458, allocations: 1.127 MB / 1.39 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.458, allocations: 12.25 kB / 1.39 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.458, allocations: 3.938 kB / 1.39 GB, free: 6.188 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.458, allocations: 3.984 kB / 1.39 GB, free: 6.184 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.46, allocations: 1.044 MB / 1.391 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.46, allocations: 0 / 1.391 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/1.461, allocations: 151 kB / 1.391 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/1.461, allocations: 76.7 kB / 1.391 GB, free: 5.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/1.461, allocations: 23.98 kB / 1.391 GB, free: 5.324 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/1.463, allocations: 1.662 MB / 1.393 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.464, allocations: 0 / 1.393 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/1.466, allocations: 0.9807 MB / 1.394 GB, free: 3.184 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/1.466, allocations: 290.7 kB / 1.394 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.467, allocations: 17.53 kB / 1.394 GB, free: 2.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/1.467, allocations: 71.78 kB / 1.394 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.467, allocations: 79.08 kB / 1.394 GB, free: 2.836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/1.468, allocations: 42.97 kB / 1.394 GB, free: 2.816 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008184/1.468, allocations: 0.5102 MB / 1.395 GB, free: 2.531 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.468, allocations: 0 / 1.395 GB, free: 2.531 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001291/1.47, allocations: 390.9 kB / 1.395 GB, free: 2.414 MB / 1.076 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 (98): * Single equations (assignments): 92 * 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.001528/1.471, allocations: 0.6139 MB / 1.395 GB, free: 2.117 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.473, allocations: 0.8904 MB / 1.396 GB, free: 1.648 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.473, allocations: 2.719 kB / 1.396 GB, free: 1.648 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/1.474, allocations: 0.5395 MB / 1.397 GB, free: 1.344 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.476, allocations: 328.1 kB / 1.397 GB, free: 1.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/1.479, allocations: 1.968 MB / 1.399 GB, free: 32 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/1.48, allocations: 1.111 MB / 1.4 GB, free: 15.16 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009694/1.481, allocations: 289 kB / 1.4 GB, free: 15.01 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.482, allocations: 110.2 kB / 1.401 GB, free: 14.98 MB / 1.092 GB Notification: Performance of SimCode: time 2.475e-06/1.482, allocations: 0 / 1.401 GB, free: 14.98 MB / 1.092 GB Notification: Performance of Templates: time 0.03064/1.512, allocations: 16.89 MB / 1.417 GB, free: 15.8 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches