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.001569/0.001568, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001592/0.001592, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.627/2.627, allocations: 437.1 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 72.67 kB / 0.8694 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008161/0.3327, allocations: 5.982 MB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7376/1.07, allocations: 148.6 MB / 1.168 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/1.071, allocations: 24.72 kB / 1.168 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007369/1.072, allocations: 175.5 kB / 1.169 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/1.074, allocations: 0.5518 MB / 1.169 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/1.076, allocations: 0.7769 MB / 1.17 GB, free: 388 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002119/1.078, allocations: 1.645 MB / 1.172 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.08, allocations: 0.8741 MB / 1.172 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/1.081, allocations: 0.6104 MB / 1.173 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008234/1.082, allocations: 0.6578 MB / 1.174 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/1.082, allocations: 154.3 kB / 1.174 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/1.083, allocations: 0.4923 MB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/1.083, allocations: 371.1 kB / 1.175 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008023/1.084, allocations: 0.7405 MB / 1.175 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/1.087, allocations: 1.524 MB / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.087, allocations: 0 / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.087, allocations: 0 / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.542e-05/1.087, allocations: 3.984 kB / 1.177 GB, free: 12.97 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004379/1.091, allocations: 1.707 MB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.092, allocations: 14.09 kB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.093, allocations: 225.5 kB / 1.179 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.094, allocations: 0.8438 MB / 1.18 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/1.094, allocations: 87.91 kB / 1.18 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/1.094, allocations: 124.9 kB / 1.18 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/1.097, allocations: 1.206 MB / 1.181 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.097, allocations: 3.984 kB / 1.181 GB, free: 10 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.097, allocations: 52.48 kB / 1.181 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/1.097, allocations: 29.5 kB / 1.181 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/1.099, allocations: 1.286 MB / 1.182 GB, free: 9.348 MB / 0.8887 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.005895/1.105, allocations: 3.576 MB / 1.186 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.107, allocations: 0.8676 MB / 1.187 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/1.107, allocations: 324.2 kB / 1.187 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/1.107, allocations: 36.12 kB / 1.187 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.108, allocations: 0.5138 MB / 1.187 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 3.146e-06/1.108, allocations: 0 / 1.187 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.003483/1.112, allocations: 1.289 MB / 1.189 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.112, allocations: 188.9 kB / 1.189 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.113, allocations: 0.7318 MB / 1.19 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/1.113, allocations: 43.44 kB / 1.19 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/1.114, allocations: 0.5165 MB / 1.19 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/1.114, allocations: 288.5 kB / 1.19 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/1.114, allocations: 176 kB / 1.191 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.114, allocations: 345.7 kB / 1.191 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/1.115, allocations: 290.2 kB / 1.191 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/1.116, allocations: 391.7 kB / 1.192 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.117, allocations: 0.6576 MB / 1.192 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.117, allocations: 0 / 1.192 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002156/1.119, allocations: 0.9242 MB / 1.193 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.119, allocations: 4.688 kB / 1.193 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.119, allocations: 0 / 1.193 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/1.12, allocations: 86.5 kB / 1.193 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/1.121, allocations: 169.6 kB / 1.193 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.123, allocations: 1.652 MB / 1.195 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.124, allocations: 113.2 kB / 1.195 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.124, allocations: 36.75 kB / 1.195 GB, free: 12 kB / 0.8887 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.0006622/1.125, allocations: 304.5 kB / 1.195 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/1.125, allocations: 95.59 kB / 1.195 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.127, allocations: 1.124 MB / 1.197 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.128, allocations: 9.75 kB / 1.197 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.128, allocations: 3.938 kB / 1.197 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/1.128, allocations: 7.969 kB / 1.197 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/1.129, allocations: 1.042 MB / 1.198 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.129, allocations: 3.984 kB / 1.198 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/1.13, allocations: 149.5 kB / 1.198 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.13, allocations: 70.92 kB / 1.198 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/1.13, allocations: 27.75 kB / 1.198 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/1.132, allocations: 1.675 MB / 1.199 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.132, allocations: 0 / 1.199 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/1.135, allocations: 0.9855 MB / 1.2 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/1.135, allocations: 286.7 kB / 1.201 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.135, allocations: 20.75 kB / 1.201 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/1.136, allocations: 71.08 kB / 1.201 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.136, allocations: 75.89 kB / 1.201 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/1.136, allocations: 42.97 kB / 1.201 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007185/1.137, allocations: 0.5119 MB / 1.201 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.137, allocations: 3.656 kB / 1.201 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001064/1.138, allocations: 392.7 kB / 1.202 GB, free: 11.31 MB / 0.9044 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.001953/1.14, allocations: 0.5921 MB / 1.202 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002585/1.143, allocations: 1.1 MB / 1.203 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.143, allocations: 0 / 1.203 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.144, allocations: 0.5487 MB / 1.204 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.145, allocations: 339.5 kB / 1.204 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/1.15, allocations: 2.579 MB / 1.207 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008471/1.151, allocations: 1.102 MB / 1.208 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.151, allocations: 127.3 kB / 1.208 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.151, allocations: 0 / 1.208 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of Templates: time 0.03388/1.185, allocations: 21.78 MB / 1.229 GB, free: 160 kB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches