Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104 kB / 15.61 MB, free: 148 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.001376/0.001376, allocations: 196.2 kB / 16.53 MB, free: 6.684 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.782/2.782, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6371, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008832/0.646, allocations: 5.403 MB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.201/0.847, allocations: 150.8 MB / 1.17 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.8484, allocations: 19.88 kB / 1.17 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.8493, allocations: 206 kB / 1.17 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.8517, allocations: 0.5746 MB / 1.171 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.8543, allocations: 0.9471 MB / 1.172 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.8564, allocations: 1.601 MB / 1.173 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.8576, allocations: 0.759 MB / 1.174 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.8586, allocations: 0.5763 MB / 1.174 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008397/0.8595, allocations: 0.6535 MB / 1.175 GB, free: 460 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.8597, allocations: 144 kB / 1.175 GB, free: 316 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.8609, allocations: 0.4919 MB / 1.176 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.8612, allocations: 354.9 kB / 1.176 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007971/0.8621, allocations: 0.6802 MB / 1.177 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.8647, allocations: 1.873 MB / 1.179 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8647, allocations: 0 / 1.179 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8648, allocations: 0 / 1.179 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.8648, allocations: 0 / 1.179 GB, free: 12.91 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003505/0.8683, allocations: 1.669 MB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8683, allocations: 8.031 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.8739, allocations: 0.76 MB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.8754, allocations: 0.8046 MB / 1.182 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/0.8755, allocations: 90.12 kB / 1.182 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.8757, allocations: 108 kB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.8792, allocations: 1.432 MB / 1.183 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8792, allocations: 0 / 1.183 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.8794, allocations: 48 kB / 1.183 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.8794, allocations: 32 kB / 1.183 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.8845, allocations: 1.882 MB / 1.185 GB, free: 5.898 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.006875/0.8913, allocations: 3.538 MB / 1.189 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.895, allocations: 1.381 MB / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.8967, allocations: 0.598 MB / 1.191 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.8975, allocations: 482.5 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.8996, allocations: 0.8165 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=109): time 3.066e-06/0.8996, allocations: 0 / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109): time 0.006692/0.9063, allocations: 1.969 MB / 1.194 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.9065, allocations: 196.9 kB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.9075, allocations: 0.6528 MB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.9076, allocations: 45.7 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.908, allocations: 436.5 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.9084, allocations: 358.8 kB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.9088, allocations: 210.4 kB / 1.196 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002462/0.9091, allocations: 398.7 kB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.9107, allocations: 0.5016 MB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.9125, allocations: 0.617 MB / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.9157, allocations: 1.078 MB / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9157, allocations: 0 / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004266/0.92, allocations: 1.372 MB / 1.199 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.92, allocations: 8 kB / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.92, allocations: 0 / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.9206, allocations: 88.83 kB / 1.2 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.9221, allocations: 267.6 kB / 1.2 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.9246, allocations: 1.644 MB / 1.201 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.926, allocations: 176.4 kB / 1.202 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.9261, allocations: 47.95 kB / 1.202 GB, free: 4.512 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0006054/0.9267, allocations: 286.7 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.927, allocations: 94.81 kB / 1.202 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.9321, allocations: 1.676 MB / 1.204 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.9321, allocations: 12 kB / 1.204 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9321, allocations: 0 / 1.204 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9322, allocations: 3.984 kB / 1.204 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006442/0.9386, allocations: 2.81 MB / 1.206 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9386, allocations: 0 / 1.206 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.94, allocations: 255.6 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.9405, allocations: 76.78 kB / 1.207 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.9406, allocations: 31.97 kB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.9429, allocations: 1.662 MB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9429, allocations: 7.938 kB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.9473, allocations: 1.519 MB / 1.21 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.9478, allocations: 319.5 kB / 1.21 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.948, allocations: 20 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9493, allocations: 131.9 kB / 1.21 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.9495, allocations: 88.8 kB / 1.21 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9496, allocations: 47.97 kB / 1.21 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006711/0.9503, allocations: 475 kB / 1.211 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9503, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001119/0.9514, allocations: 399 kB / 1.211 GB, free: 10.37 MB / 0.9669 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * 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.00203/0.9535, allocations: 0.6222 MB / 1.212 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005236/0.9587, allocations: 1.651 MB / 1.213 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.9587, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.9609, allocations: 0.8163 MB / 1.214 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.9624, allocations: 322.3 kB / 1.215 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.9671, allocations: 2.136 MB / 1.217 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.9679, allocations: 1.076 MB / 1.218 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00161/0.9695, allocations: 347.7 kB / 1.218 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.9699, allocations: 127.4 kB / 1.218 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of SimCode: time 9.31e-07/0.97, allocations: 0 / 1.218 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.03347/1.003, allocations: 18.31 MB / 1.236 GB, free: 1.316 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches