Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001305/0.001305, allocations: 111.6 kB / 16.41 MB, free: 6.488 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.001303/0.001303, allocations: 187 kB / 17.34 MB, free: 5.762 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.367/1.367, 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 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9034, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005942/0.9094, allocations: 4.746 MB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1978/1.107, allocations: 150.7 MB / 1.24 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/1.109, allocations: 20.25 kB / 1.24 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/1.11, allocations: 190.8 kB / 1.241 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/1.113, allocations: 0.5381 MB / 1.241 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/1.116, allocations: 0.87 MB / 1.242 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002321/1.118, allocations: 1.441 MB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/1.12, allocations: 0.9328 MB / 1.244 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/1.121, allocations: 0.583 MB / 1.245 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.122, allocations: 0.6233 MB / 1.245 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005138/1.123, allocations: 153.5 kB / 1.246 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/1.124, allocations: 0.5172 MB / 1.246 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005362/1.125, allocations: 378.8 kB / 1.246 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008451/1.125, allocations: 0.6955 MB / 1.247 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/1.128, allocations: 1.965 MB / 1.249 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.128, allocations: 0 / 1.249 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/1.128, allocations: 0 / 1.249 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.08e-05/1.128, allocations: 0 / 1.249 GB, free: 9.461 MB / 0.9825 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.00277/1.131, allocations: 1.686 MB / 1.251 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.131, allocations: 8.031 kB / 1.251 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/1.132, allocations: 226.9 kB / 1.251 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.133, allocations: 0.86 MB / 1.252 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/1.133, allocations: 94.39 kB / 1.252 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.133, allocations: 112 kB / 1.252 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.135, allocations: 1.202 MB / 1.253 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.135, allocations: 0 / 1.253 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.135, allocations: 52 kB / 1.253 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/1.135, allocations: 32 kB / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/1.137, allocations: 1.281 MB / 1.254 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/1.142, allocations: 3.129 MB / 1.258 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.144, allocations: 0.863 MB / 1.258 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/1.144, allocations: 318.7 kB / 1.259 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/1.145, allocations: 28.62 kB / 1.259 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/1.145, allocations: 0.5198 MB / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/1.145, allocations: 0 / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003258/1.149, allocations: 1.278 MB / 1.26 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.149, allocations: 192.9 kB / 1.261 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/1.15, allocations: 0.7314 MB / 1.261 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/1.15, allocations: 45.7 kB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/1.15, allocations: 0.5116 MB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/1.151, allocations: 287.9 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/1.151, allocations: 174.5 kB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.151, allocations: 338 kB / 1.263 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/1.151, allocations: 293.8 kB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/1.152, allocations: 387.1 kB / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.153, allocations: 0.6594 MB / 1.264 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.153, allocations: 0 / 1.264 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001985/1.155, allocations: 0.9189 MB / 1.265 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.155, allocations: 4 kB / 1.265 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.155, allocations: 3.938 kB / 1.265 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/1.156, allocations: 84.86 kB / 1.265 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.157, allocations: 179.7 kB / 1.265 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.159, allocations: 1.63 MB / 1.267 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/1.16, allocations: 101.6 kB / 1.267 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/1.16, allocations: 35.98 kB / 1.267 GB, free: 6.691 MB / 0.9981 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.0004692/1.16, allocations: 303.3 kB / 1.267 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.16, allocations: 94.78 kB / 1.267 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/1.163, allocations: 1.114 MB / 1.268 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.163, allocations: 11.94 kB / 1.268 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.163, allocations: 15.92 kB / 1.268 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.163, allocations: 3.984 kB / 1.268 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.164, allocations: 1.056 MB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.164, allocations: 4 kB / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/1.164, allocations: 147.8 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/1.165, allocations: 76.78 kB / 1.27 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/1.165, allocations: 27.98 kB / 1.27 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/1.167, allocations: 1.65 MB / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.167, allocations: 0 / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.169, allocations: 0.9824 MB / 1.272 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/1.169, allocations: 291.6 kB / 1.272 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.169, allocations: 23.98 kB / 1.272 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/1.17, allocations: 63.88 kB / 1.273 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.17, allocations: 76.97 kB / 1.273 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/1.17, allocations: 35.98 kB / 1.273 GB, free: 480 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006387/1.171, allocations: 0.5224 MB / 1.273 GB, free: 15.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.171, allocations: 3.938 kB / 1.273 GB, free: 15.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008855/1.172, allocations: 362.8 kB / 1.273 GB, free: 15.59 MB / 1.014 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.001357/1.173, allocations: 0.599 MB / 1.274 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.175, allocations: 0.8861 MB / 1.275 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.175, allocations: 0 / 1.275 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009293/1.176, allocations: 0.5432 MB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.177, allocations: 305 kB / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/1.181, allocations: 2.109 MB / 1.278 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/1.182, allocations: 1.112 MB / 1.279 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/1.182, allocations: 127.3 kB / 1.279 GB, free: 10.03 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.182, allocations: 3.938 kB / 1.279 GB, free: 10.03 MB / 1.014 GB Notification: Performance of Templates: time 0.02624/1.208, allocations: 21.53 MB / 1.3 GB, free: 4.531 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches