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.001288/0.001288, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001274/0.001274, allocations: 188.6 kB / 17.2 MB, free: 5.508 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.558/2.558, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 69.3 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01211/0.3556, allocations: 8.469 MB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7713/1.127, allocations: 151.8 MB / 1.174 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/1.129, allocations: 23.94 kB / 1.175 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/1.13, allocations: 320 kB / 1.175 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003243/1.133, allocations: 0.8583 MB / 1.176 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/1.136, allocations: 1.376 MB / 1.177 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004376/1.141, allocations: 2.98 MB / 1.18 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/1.143, allocations: 1.495 MB / 1.181 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/1.145, allocations: 1.191 MB / 1.183 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/1.148, allocations: 1.331 MB / 1.184 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007713/1.149, allocations: 323.8 kB / 1.184 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.15, allocations: 0.6771 MB / 1.185 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008104/1.151, allocations: 0.695 MB / 1.185 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/1.153, allocations: 1.335 MB / 1.187 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/1.158, allocations: 3.59 MB / 1.19 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.158, allocations: 0 / 1.19 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.224e-06/1.158, allocations: 4 kB / 1.19 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001029/1.158, allocations: 0 / 1.19 GB, free: 2.492 MB / 0.8887 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.007521/1.165, allocations: 2.829 MB / 1.193 GB, free: 476 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.165, allocations: 8.281 kB / 1.193 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/1.182, allocations: 2.111 MB / 1.195 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/1.185, allocations: 1.269 MB / 1.196 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/1.185, allocations: 168.4 kB / 1.197 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/1.186, allocations: 217.2 kB / 1.197 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/1.195, allocations: 3.277 MB / 1.2 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/1.195, allocations: 3.219 kB / 1.2 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/1.195, allocations: 95.7 kB / 1.2 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/1.195, allocations: 57.94 kB / 1.2 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/1.209, allocations: 4.198 MB / 1.204 GB, free: 10.24 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.01956/1.228, allocations: 8.114 MB / 1.212 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009913/1.238, allocations: 2.888 MB / 1.215 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.243, allocations: 1.491 MB / 1.216 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008896/1.244, allocations: 0.5109 MB / 1.217 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005705/1.25, allocations: 1.84 MB / 1.219 GB, free: 11.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 4.328e-06/1.25, allocations: 0 / 1.219 GB, free: 11.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.01635/1.266, allocations: 4.458 MB / 1.223 GB, free: 6.695 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/1.266, allocations: 217.8 kB / 1.223 GB, free: 6.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.268, allocations: 0.9487 MB / 1.224 GB, free: 5.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/1.268, allocations: 61.7 kB / 1.224 GB, free: 5.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007771/1.269, allocations: 0.7465 MB / 1.225 GB, free: 4.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009191/1.27, allocations: 0.6776 MB / 1.226 GB, free: 3.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008047/1.271, allocations: 395.1 kB / 1.226 GB, free: 3.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.271, allocations: 301.1 kB / 1.226 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.275, allocations: 1.261 MB / 1.228 GB, free: 2.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/1.28, allocations: 1.437 MB / 1.229 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009327/1.29, allocations: 2.614 MB / 1.231 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.29, allocations: 0 / 1.231 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01113/1.301, allocations: 3.12 MB / 1.235 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.301, allocations: 8 kB / 1.235 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.301, allocations: 0 / 1.235 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/1.301, allocations: 88.84 kB / 1.235 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/1.306, allocations: 0.6006 MB / 1.235 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/1.308, allocations: 1.647 MB / 1.237 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.312, allocations: 366.9 kB / 1.237 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/1.312, allocations: 101.6 kB / 1.237 GB, free: 7.84 MB / 0.9356 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.001132/1.313, allocations: 437.5 kB / 1.238 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/1.314, allocations: 158.1 kB / 1.238 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.326, allocations: 3.723 MB / 1.241 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.326, allocations: 20 kB / 1.241 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.326, allocations: 0 / 1.241 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/1.326, allocations: 13.36 kB / 1.241 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/1.33, allocations: 2.444 MB / 1.244 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.33, allocations: 7.984 kB / 1.244 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.334, allocations: 0.5578 MB / 1.244 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/1.334, allocations: 80.72 kB / 1.245 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003325/1.335, allocations: 71.92 kB / 1.245 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.337, allocations: 1.67 MB / 1.246 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.337, allocations: 3.938 kB / 1.246 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.348, allocations: 3.207 MB / 1.249 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.35, allocations: 0.5529 MB / 1.25 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/1.35, allocations: 59.77 kB / 1.25 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/1.354, allocations: 267.7 kB / 1.25 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/1.354, allocations: 149.8 kB / 1.25 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/1.354, allocations: 91.91 kB / 1.25 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001294/1.356, allocations: 0.6958 MB / 1.251 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.356, allocations: 3.938 kB / 1.251 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002418/1.358, allocations: 0.6778 MB / 1.252 GB, free: 8.695 MB / 0.9512 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.002304/1.361, allocations: 0.6606 MB / 1.252 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.376, allocations: 3.674 MB / 1.256 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.376, allocations: 0 / 1.256 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006025/1.382, allocations: 1.751 MB / 1.258 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.385, allocations: 409.3 kB / 1.258 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.396, allocations: 4.169 MB / 1.262 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.397, allocations: 1.425 MB / 1.264 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.399, allocations: 287.2 kB / 1.264 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/1.399, allocations: 0 / 1.264 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Templates: time 0.06689/1.466, allocations: 42.19 MB / 1.305 GB, free: 2.297 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches