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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001743/0.001743, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001808/0.001809, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00806/0.315, allocations: 5.978 MB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8258/1.141, allocations: 150.8 MB / 1.18 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/1.143, allocations: 20.75 kB / 1.18 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000856/1.143, allocations: 231.1 kB / 1.18 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/1.146, allocations: 0.6306 MB / 1.181 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/1.148, allocations: 0.8772 MB / 1.182 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002369/1.151, allocations: 1.654 MB / 1.183 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/1.152, allocations: 0.8671 MB / 1.184 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/1.153, allocations: 0.612 MB / 1.185 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/1.154, allocations: 0.662 MB / 1.185 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/1.154, allocations: 154.3 kB / 1.185 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/1.155, allocations: 0.5069 MB / 1.186 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/1.156, allocations: 379 kB / 1.186 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007343/1.157, allocations: 0.7312 MB / 1.187 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/1.159, allocations: 2.03 MB / 1.189 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.159, allocations: 0 / 1.189 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/1.159, allocations: 0 / 1.189 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.95e-05/1.159, allocations: 0 / 1.189 GB, free: 15.7 MB / 0.9044 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.003276/1.162, allocations: 1.716 MB / 1.191 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.163, allocations: 9.531 kB / 1.191 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.164, allocations: 229.1 kB / 1.191 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/1.165, allocations: 0.8621 MB / 1.192 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/1.165, allocations: 99.64 kB / 1.192 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.165, allocations: 113 kB / 1.192 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.168, allocations: 1.198 MB / 1.193 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.168, allocations: 1.312 kB / 1.193 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.168, allocations: 51.09 kB / 1.193 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/1.168, allocations: 30.88 kB / 1.193 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/1.17, allocations: 1.291 MB / 1.194 GB, free: 12.06 MB / 0.9044 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.005542/1.175, allocations: 3.534 MB / 1.198 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.177, allocations: 0.8708 MB / 1.199 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/1.178, allocations: 324.8 kB / 1.199 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/1.178, allocations: 38.31 kB / 1.199 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/1.179, allocations: 0.5172 MB / 1.2 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=87): time 2.495e-06/1.179, allocations: 0 / 1.2 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.003454/1.182, allocations: 1.281 MB / 1.201 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.182, allocations: 190.9 kB / 1.201 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.183, allocations: 0.7386 MB / 1.202 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/1.184, allocations: 46.86 kB / 1.202 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/1.184, allocations: 0.5089 MB / 1.202 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.184, allocations: 286 kB / 1.203 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/1.185, allocations: 175.1 kB / 1.203 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.185, allocations: 345.8 kB / 1.203 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/1.185, allocations: 291 kB / 1.203 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/1.186, allocations: 392.1 kB / 1.204 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.187, allocations: 0.662 MB / 1.204 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.187, allocations: 0 / 1.204 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002212/1.189, allocations: 0.9184 MB / 1.205 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.189, allocations: 5.281 kB / 1.205 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.189, allocations: 0.875 kB / 1.205 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/1.19, allocations: 89.61 kB / 1.205 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/1.191, allocations: 178.6 kB / 1.205 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.193, allocations: 1.63 MB / 1.207 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/1.194, allocations: 104.1 kB / 1.207 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/1.194, allocations: 40.86 kB / 1.207 GB, free: 2.758 MB / 0.9044 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.0006451/1.195, allocations: 308.6 kB / 1.208 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/1.195, allocations: 96.27 kB / 1.208 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/1.198, allocations: 1.116 MB / 1.209 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.198, allocations: 10.09 kB / 1.209 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.198, allocations: 3.938 kB / 1.209 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.198, allocations: 3.984 kB / 1.209 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/1.199, allocations: 1.044 MB / 1.21 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.199, allocations: 0 / 1.21 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/1.2, allocations: 164.5 kB / 1.21 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/1.2, allocations: 64.05 kB / 1.21 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/1.2, allocations: 30.09 kB / 1.21 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/1.202, allocations: 1.664 MB / 1.212 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.202, allocations: 4.016 kB / 1.212 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.205, allocations: 0.9824 MB / 1.213 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/1.205, allocations: 283.6 kB / 1.213 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.205, allocations: 24 kB / 1.213 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/1.206, allocations: 63.92 kB / 1.213 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.206, allocations: 80.77 kB / 1.213 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/1.206, allocations: 35.98 kB / 1.213 GB, free: 13.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007692/1.207, allocations: 0.5146 MB / 1.214 GB, free: 13.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.207, allocations: 0 / 1.214 GB, free: 13.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001218/1.208, allocations: 390.8 kB / 1.214 GB, free: 12.78 MB / 0.92 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.001576/1.21, allocations: 0.615 MB / 1.215 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.212, allocations: 0.8831 MB / 1.215 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.212, allocations: 4 kB / 1.215 GB, free: 11.44 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.213, allocations: 0.5431 MB / 1.216 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.214, allocations: 329.2 kB / 1.216 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.218, allocations: 1.961 MB / 1.218 GB, free: 8.598 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/1.219, allocations: 1.106 MB / 1.219 GB, free: 7.465 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009884/1.22, allocations: 295.5 kB / 1.219 GB, free: 7.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/1.22, allocations: 119.4 kB / 1.22 GB, free: 7.055 MB / 0.92 GB Notification: Performance of SimCode: time 1.502e-06/1.22, allocations: 0 / 1.22 GB, free: 7.055 MB / 0.92 GB Notification: Performance of Templates: time 0.02994/1.25, allocations: 16.4 MB / 1.236 GB, free: 6.848 MB / 0.9356 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches