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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008727/0.0008724, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437.8 MB / 0.7128 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8323, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00939/0.8417, allocations: 7.882 MB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1599/1.002, allocations: 147.9 MB / 1.176 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.003, allocations: 19.88 kB / 1.176 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009215/1.004, allocations: 238 kB / 1.176 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/1.007, allocations: 0.7264 MB / 1.177 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/1.01, allocations: 1.222 MB / 1.178 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003687/1.014, allocations: 2.783 MB / 1.181 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/1.016, allocations: 1.402 MB / 1.182 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/1.018, allocations: 0.8127 MB / 1.183 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/1.019, allocations: 0.9677 MB / 1.184 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/1.019, allocations: 64 kB / 1.184 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/1.021, allocations: 431.6 kB / 1.184 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004653/1.021, allocations: 398.1 kB / 1.185 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/1.022, allocations: 1.015 MB / 1.186 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/1.025, allocations: 2.665 MB / 1.188 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.025, allocations: 0 / 1.188 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.866e-06/1.025, allocations: 4 kB / 1.188 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.415e-05/1.026, allocations: 0 / 1.188 GB, free: 6.652 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005985/1.032, allocations: 2.321 MB / 1.19 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.032, allocations: 15.97 kB / 1.191 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/1.047, allocations: 2.3 MB / 1.193 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/1.05, allocations: 1.255 MB / 1.194 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.05, allocations: 172.5 kB / 1.194 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/1.051, allocations: 220 kB / 1.194 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/1.06, allocations: 3.36 MB / 1.198 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/1.06, allocations: 0 / 1.198 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/1.06, allocations: 92 kB / 1.198 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/1.06, allocations: 56 kB / 1.198 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/1.074, allocations: 4.35 MB / 1.202 GB, free: 8.281 MB / 0.9512 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.01748/1.091, allocations: 8.153 MB / 1.21 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009912/1.101, allocations: 2.903 MB / 1.213 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/1.106, allocations: 1.501 MB / 1.214 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008679/1.107, allocations: 0.5035 MB / 1.215 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006122/1.113, allocations: 1.863 MB / 1.217 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 8.476e-06/1.113, allocations: 4 kB / 1.217 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01798/1.131, allocations: 4.505 MB / 1.221 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.132, allocations: 213.9 kB / 1.221 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.133, allocations: 0.9486 MB / 1.222 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005117/1.134, allocations: 61.7 kB / 1.222 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006591/1.134, allocations: 0.7349 MB / 1.223 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009998/1.135, allocations: 0.6815 MB / 1.224 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/1.136, allocations: 149.6 kB / 1.224 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/1.136, allocations: 305.1 kB / 1.224 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004631/1.141, allocations: 1.273 MB / 1.225 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/1.145, allocations: 1.449 MB / 1.227 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009291/1.155, allocations: 2.641 MB / 1.229 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.155, allocations: 4 kB / 1.229 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01181/1.167, allocations: 3.143 MB / 1.232 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.167, allocations: 8 kB / 1.232 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.167, allocations: 0 / 1.232 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/1.167, allocations: 96.77 kB / 1.232 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/1.171, allocations: 0.6085 MB / 1.233 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.174, allocations: 1.554 MB / 1.235 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/1.177, allocations: 386 kB / 1.235 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005704/1.178, allocations: 103.9 kB / 1.235 GB, free: 5.797 MB / 0.9825 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.001587/1.18, allocations: 440.6 kB / 1.235 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/1.18, allocations: 158 kB / 1.236 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.194, allocations: 3.74 MB / 1.239 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/1.194, allocations: 27.94 kB / 1.239 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.194, allocations: 0 / 1.239 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/1.194, allocations: 11.95 kB / 1.239 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/1.198, allocations: 2.455 MB / 1.242 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/1.198, allocations: 0 / 1.242 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003952/1.202, allocations: 0.5695 MB / 1.242 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006132/1.203, allocations: 88.77 kB / 1.242 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005098/1.203, allocations: 75.91 kB / 1.242 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.205, allocations: 1.555 MB / 1.244 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.205, allocations: 4.062 kB / 1.244 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.218, allocations: 3.23 MB / 1.247 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.219, allocations: 0.5801 MB / 1.248 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000707/1.22, allocations: 44 kB / 1.248 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/1.223, allocations: 313.9 kB / 1.248 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.224, allocations: 145.8 kB / 1.248 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004382/1.224, allocations: 91.91 kB / 1.248 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001314/1.226, allocations: 0.6997 MB / 1.249 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.226, allocations: 0 / 1.249 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002355/1.228, allocations: 0.6854 MB / 1.25 GB, free: 6.641 MB / 0.9981 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.001932/1.23, allocations: 0.6572 MB / 1.25 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.241, allocations: 3.186 MB / 1.253 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.241, allocations: 0 / 1.253 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005985/1.247, allocations: 1.775 MB / 1.255 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.25, allocations: 366.3 kB / 1.255 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5322/1.782, allocations: 5.161 MB / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.783, allocations: 1.429 MB / 1.262 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.785, allocations: 282.8 kB / 1.262 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.785, allocations: 0 / 1.262 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06818/1.853, allocations: 41.96 MB / 1.303 GB, free: 200.3 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