Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_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.001704/0.001704, allocations: 108 kB / 15.61 MB, free: 152 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.001948/0.001948, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.55/1.55, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.824/2.824, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.88 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6651, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008588/0.6737, allocations: 5.981 MB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1897/0.8634, allocations: 150.8 MB / 1.17 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009903/0.8645, allocations: 19.88 kB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.8652, allocations: 233.7 kB / 1.171 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.8672, allocations: 0.6325 MB / 1.171 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.8693, allocations: 0.8634 MB / 1.172 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.8711, allocations: 1.642 MB / 1.174 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.8724, allocations: 0.8695 MB / 1.175 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.8733, allocations: 0.6034 MB / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007985/0.8741, allocations: 0.6535 MB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.8743, allocations: 156 kB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.8753, allocations: 0.4917 MB / 1.176 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.8756, allocations: 374.8 kB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.8764, allocations: 0.7307 MB / 1.178 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.8786, allocations: 1.99 MB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8786, allocations: 0 / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8786, allocations: 4 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.8787, allocations: 0 / 1.179 GB, free: 11.8 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.002989/0.8817, allocations: 1.717 MB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8817, allocations: 12.03 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.8827, allocations: 219 kB / 1.181 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.884, allocations: 0.8482 MB / 1.182 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.8841, allocations: 94.41 kB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.8842, allocations: 120 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.8865, allocations: 1.198 MB / 1.184 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.8865, allocations: 0 / 1.184 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.8866, allocations: 48 kB / 1.184 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.8867, allocations: 32 kB / 1.184 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.8889, allocations: 1.289 MB / 1.185 GB, free: 6.062 MB / 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.005255/0.8942, allocations: 3.586 MB / 1.188 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.8959, allocations: 0.8597 MB / 1.189 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.8965, allocations: 326.6 kB / 1.19 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.8966, allocations: 36.59 kB / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009879/0.8976, allocations: 0.5159 MB / 1.19 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 4.158e-06/0.8976, allocations: 112 / 1.19 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003453/0.901, allocations: 1.29 MB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.9012, allocations: 188.9 kB / 1.192 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009667/0.9022, allocations: 0.7353 MB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.9022, allocations: 45.69 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.9027, allocations: 0.5154 MB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.9029, allocations: 283.9 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.9032, allocations: 178.4 kB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9034, allocations: 337.9 kB / 1.194 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.904, allocations: 289.8 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.9047, allocations: 391.1 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.9059, allocations: 0.6594 MB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.906, allocations: 0 / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002099/0.9081, allocations: 0.9229 MB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9081, allocations: 4 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.9081, allocations: 12.03 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.9087, allocations: 80.78 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.9095, allocations: 175.7 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.9118, allocations: 1.638 MB / 1.198 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.9126, allocations: 103.2 kB / 1.198 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.9127, allocations: 35.97 kB / 1.198 GB, free: 8.406 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.0005268/0.9132, allocations: 299.4 kB / 1.198 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.9134, allocations: 98.77 kB / 1.198 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.916, allocations: 1.126 MB / 1.199 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.916, allocations: 15.94 kB / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.916, allocations: 0 / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.916, allocations: 3.984 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.9174, allocations: 1.052 MB / 1.2 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.9175, allocations: 0 / 1.2 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.9181, allocations: 155.8 kB / 1.2 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.9186, allocations: 68.8 kB / 1.2 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.9186, allocations: 27.97 kB / 1.201 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.9208, allocations: 1.666 MB / 1.202 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9208, allocations: 0 / 1.202 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.9229, allocations: 0.998 MB / 1.203 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.9234, allocations: 287.6 kB / 1.203 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.9235, allocations: 16 kB / 1.203 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.9242, allocations: 69.64 kB / 1.203 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.9244, allocations: 72.84 kB / 1.204 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.9245, allocations: 43.91 kB / 1.204 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007432/0.9252, allocations: 0.5146 MB / 1.204 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9252, allocations: 0 / 1.204 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001004/0.9262, allocations: 386.8 kB / 1.204 GB, free: 1.277 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: 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.002004/0.9283, allocations: 0.601 MB / 1.205 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002861/0.9311, allocations: 1.105 MB / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9311, allocations: 0 / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9322, allocations: 0.5393 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.9336, allocations: 320.8 kB / 1.207 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.9376, allocations: 1.988 MB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.9385, allocations: 1.11 MB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009879/0.9395, allocations: 307.5 kB / 1.21 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.9398, allocations: 111.4 kB / 1.21 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.9398, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.03177/0.9716, allocations: 16.4 MB / 1.226 GB, free: 11.11 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches