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.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.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.001212/0.001212, allocations: 100.1 kB / 15.88 MB, free: 12 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.001541/0.001541, allocations: 199 kB / 16.79 MB, free: 6.809 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.672/1.672, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.67/2.67, allocations: 437 MB / 0.7106 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 68.09 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6601, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.0076/0.6678, allocations: 5.403 MB / 1.023 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.8308, allocations: 148.5 MB / 1.168 GB, free: 8.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.832, allocations: 19.94 kB / 1.168 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.833, allocations: 166.7 kB / 1.168 GB, free: 8.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.8354, allocations: 496.5 kB / 1.168 GB, free: 7.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.8379, allocations: 0.8279 MB / 1.169 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.8401, allocations: 1.515 MB / 1.171 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.8416, allocations: 0.7182 MB / 1.171 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.8426, allocations: 0.5214 MB / 1.172 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.8437, allocations: 0.6028 MB / 1.172 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.8441, allocations: 72 kB / 1.172 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.8454, allocations: 439.6 kB / 1.173 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.8458, allocations: 290.9 kB / 1.173 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009625/0.8468, allocations: 0.6099 MB / 1.174 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.8488, allocations: 1.395 MB / 1.175 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8488, allocations: 0 / 1.175 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8488, allocations: 0 / 1.175 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.344e-05/0.8489, allocations: 4 kB / 1.175 GB, free: 0.625 MB / 0.92 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.004495/0.8534, allocations: 1.669 MB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8534, allocations: 12.03 kB / 1.177 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.8591, allocations: 0.76 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.861, allocations: 0.8084 MB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.8611, allocations: 86.2 kB / 1.178 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.8614, allocations: 104 kB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/0.8657, allocations: 1.436 MB / 1.18 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.8657, allocations: 0 / 1.18 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.8659, allocations: 47.94 kB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.8659, allocations: 28 kB / 1.18 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005158/0.8711, allocations: 1.889 MB / 1.182 GB, free: 9.609 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.007951/0.8791, allocations: 3.528 MB / 1.185 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003688/0.8828, allocations: 1.38 MB / 1.187 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.8845, allocations: 0.6026 MB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007492/0.8852, allocations: 478.6 kB / 1.188 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.8874, allocations: 0.8165 MB / 1.188 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 3.947e-06/0.8874, allocations: 0 / 1.188 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.006515/0.894, allocations: 1.973 MB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.8941, allocations: 192.9 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.8952, allocations: 0.6528 MB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.8954, allocations: 49.7 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.8958, allocations: 432.5 kB / 1.192 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.8962, allocations: 358.8 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.8966, allocations: 206.4 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.8969, allocations: 402.7 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.8984, allocations: 0.4977 MB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.9, allocations: 0.6208 MB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.9031, allocations: 1.078 MB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9031, allocations: 4 kB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004207/0.9073, allocations: 1.372 MB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.9074, allocations: 8 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9074, allocations: 4.125 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.908, allocations: 76.78 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.9095, allocations: 275.6 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.9118, allocations: 1.53 MB / 1.198 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.9133, allocations: 173.4 kB / 1.198 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.9135, allocations: 47.95 kB / 1.198 GB, free: 8.348 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.0007236/0.9142, allocations: 292.6 kB / 1.198 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.9146, allocations: 94.88 kB / 1.198 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.9196, allocations: 1.676 MB / 1.2 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9197, allocations: 12 kB / 1.2 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.9197, allocations: 0 / 1.2 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9197, allocations: 7.922 kB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.9262, allocations: 2.794 MB / 1.203 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.9263, allocations: 3.938 kB / 1.203 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.9276, allocations: 251.7 kB / 1.203 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005613/0.9282, allocations: 88.7 kB / 1.203 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.9284, allocations: 35.97 kB / 1.203 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.9304, allocations: 1.556 MB / 1.205 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9304, allocations: 0 / 1.205 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.9348, allocations: 1.531 MB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.9355, allocations: 315.4 kB / 1.206 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.9357, allocations: 27.98 kB / 1.206 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.9371, allocations: 123.9 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.9374, allocations: 88.81 kB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.9375, allocations: 47.97 kB / 1.207 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007861/0.9383, allocations: 475 kB / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9383, allocations: 0 / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001365/0.9397, allocations: 399 kB / 1.208 GB, free: 14.31 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.001681/0.9414, allocations: 0.632 MB / 1.208 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004088/0.9455, allocations: 1.39 MB / 1.21 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.9455, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.9477, allocations: 0.8163 MB / 1.21 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.9494, allocations: 299 kB / 1.211 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.9547, allocations: 2.655 MB / 1.213 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.9556, allocations: 1.092 MB / 1.214 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/0.9564, allocations: 143.3 kB / 1.214 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of SimCode: time 1.112e-06/0.9564, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of Templates: time 0.03459/0.991, allocations: 22.72 MB / 1.237 GB, free: 0.7852 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time