Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_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_11_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.001647/0.001647, allocations: 108.3 kB / 15.99 MB, free: 6.348 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.001803/0.001803, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 54.66 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3687, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00869/0.3775, allocations: 5.955 MB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7521/1.13, allocations: 148.6 MB / 1.215 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/1.131, allocations: 16.5 kB / 1.215 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/1.132, allocations: 188.5 kB / 1.215 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/1.135, allocations: 0.5524 MB / 1.216 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/1.137, allocations: 0.7746 MB / 1.217 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002743/1.14, allocations: 1.645 MB / 1.218 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/1.142, allocations: 0.8682 MB / 1.219 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/1.143, allocations: 0.6105 MB / 1.22 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.144, allocations: 0.6608 MB / 1.22 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005105/1.145, allocations: 153.3 kB / 1.22 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/1.147, allocations: 492.9 kB / 1.221 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006197/1.147, allocations: 375.9 kB / 1.221 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.149, allocations: 0.7435 MB / 1.222 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/1.151, allocations: 1.52 MB / 1.223 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/1.151, allocations: 8.656 kB / 1.223 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/1.151, allocations: 0 / 1.223 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.15e-05/1.151, allocations: 1.906 kB / 1.223 GB, free: 4.676 MB / 0.9356 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.004355/1.156, allocations: 1.712 MB / 1.225 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.156, allocations: 11.16 kB / 1.225 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.157, allocations: 221.3 kB / 1.225 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.159, allocations: 0.8468 MB / 1.226 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/1.159, allocations: 92.66 kB / 1.226 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.159, allocations: 116.3 kB / 1.226 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/1.161, allocations: 1.203 MB / 1.228 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/1.162, allocations: 0 / 1.228 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.162, allocations: 52 kB / 1.228 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/1.162, allocations: 32 kB / 1.228 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/1.164, allocations: 1.281 MB / 1.229 GB, free: 216 kB / 0.9356 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.006131/1.17, allocations: 3.576 MB / 1.232 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/1.172, allocations: 0.8681 MB / 1.233 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/1.172, allocations: 324.3 kB / 1.234 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.832e-05/1.173, allocations: 36.59 kB / 1.234 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/1.174, allocations: 0.5159 MB / 1.234 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=87): time 3.397e-06/1.174, allocations: 0 / 1.234 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87): time 0.003711/1.177, allocations: 1.278 MB / 1.235 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.177, allocations: 200.9 kB / 1.235 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.179, allocations: 0.7391 MB / 1.236 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.179, allocations: 41.7 kB / 1.236 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/1.179, allocations: 0.5115 MB / 1.237 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/1.18, allocations: 283.9 kB / 1.237 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/1.18, allocations: 174.5 kB / 1.237 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.18, allocations: 345.8 kB / 1.238 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/1.181, allocations: 297.8 kB / 1.238 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/1.182, allocations: 383.1 kB / 1.238 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.183, allocations: 0.6633 MB / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.183, allocations: 0 / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002367/1.185, allocations: 0.9228 MB / 1.24 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.185, allocations: 4 kB / 1.24 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.185, allocations: 4.688 kB / 1.24 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/1.186, allocations: 88.8 kB / 1.24 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/1.187, allocations: 171.8 kB / 1.24 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/1.189, allocations: 1.64 MB / 1.242 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.19, allocations: 113.8 kB / 1.242 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.191, allocations: 35.98 kB / 1.242 GB, free: 2.566 MB / 0.9512 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.0006983/1.191, allocations: 299.3 kB / 1.242 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.192, allocations: 98.88 kB / 1.242 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.194, allocations: 1.124 MB / 1.243 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.194, allocations: 12 kB / 1.243 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.194, allocations: 3.938 kB / 1.243 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.195, allocations: 7.922 kB / 1.243 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/1.196, allocations: 1.048 MB / 1.244 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.196, allocations: 0 / 1.244 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/1.197, allocations: 155.8 kB / 1.244 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/1.198, allocations: 76.78 kB / 1.244 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/1.198, allocations: 23.98 kB / 1.244 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/1.2, allocations: 1.666 MB / 1.246 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.2, allocations: 4.172 kB / 1.246 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.202, allocations: 0.9862 MB / 1.247 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/1.203, allocations: 279.6 kB / 1.247 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/1.203, allocations: 27.7 kB / 1.247 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/1.204, allocations: 79.83 kB / 1.247 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.204, allocations: 76.84 kB / 1.248 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/1.204, allocations: 39.91 kB / 1.248 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008722/1.205, allocations: 0.5146 MB / 1.248 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.114e-06/1.205, allocations: 4 kB / 1.248 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001237/1.206, allocations: 386.8 kB / 1.248 GB, free: 11.43 MB / 0.9669 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.002108/1.209, allocations: 0.5983 MB / 1.249 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002968/1.212, allocations: 1.101 MB / 1.25 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.212, allocations: 0 / 1.25 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.213, allocations: 0.5431 MB / 1.251 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.214, allocations: 331.6 kB / 1.251 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/1.219, allocations: 2.582 MB / 1.253 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.22, allocations: 1.11 MB / 1.255 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/1.221, allocations: 123.4 kB / 1.255 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.221, allocations: 0 / 1.255 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of Templates: time 0.03525/1.256, allocations: 21.77 MB / 1.276 GB, free: 15.45 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches