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.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001721/0.001722, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.735/2.735, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 64.06 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7078, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008728/0.7166, allocations: 5.414 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.9022, allocations: 148.5 MB / 1.167 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.9032, allocations: 15.94 kB / 1.167 GB, free: 8.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.9038, allocations: 166.7 kB / 1.167 GB, free: 8.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.9056, allocations: 497.3 kB / 1.168 GB, free: 7.574 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.9077, allocations: 0.82 MB / 1.168 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.9095, allocations: 1.511 MB / 1.17 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.9106, allocations: 0.7221 MB / 1.171 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.9114, allocations: 0.5137 MB / 1.171 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.9121, allocations: 0.6067 MB / 1.172 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.9123, allocations: 76 kB / 1.172 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.9133, allocations: 443.6 kB / 1.172 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.9137, allocations: 290.8 kB / 1.172 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.9143, allocations: 0.6099 MB / 1.173 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.9164, allocations: 1.803 MB / 1.175 GB, free: 148 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9165, allocations: 4 kB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9165, allocations: 0 / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.9165, allocations: 0 / 1.175 GB, free: 144 kB / 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.003622/0.9201, allocations: 1.673 MB / 1.176 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9202, allocations: 8.031 kB / 1.176 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/0.9258, allocations: 0.7561 MB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.9275, allocations: 0.8123 MB / 1.178 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.9276, allocations: 86.19 kB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.9278, allocations: 104 kB / 1.178 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/0.9316, allocations: 1.432 MB / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.9316, allocations: 0 / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.9318, allocations: 48 kB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.9318, allocations: 28 kB / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.9367, allocations: 1.885 MB / 1.181 GB, free: 9.133 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.007338/0.9441, allocations: 3.528 MB / 1.185 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.9477, allocations: 1.392 MB / 1.186 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.9493, allocations: 0.5989 MB / 1.187 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.95, allocations: 474.5 kB / 1.187 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.9522, allocations: 0.8166 MB / 1.188 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.945e-06/0.9522, allocations: 0 / 1.188 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.006524/0.9587, allocations: 1.969 MB / 1.19 GB, free: 72 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.9589, allocations: 197 kB / 1.19 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/0.9599, allocations: 0.6566 MB / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.9601, allocations: 45.7 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.9605, allocations: 440.5 kB / 1.191 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.9608, allocations: 350.9 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.9612, allocations: 206.4 kB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.9614, allocations: 398.7 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.9631, allocations: 0.5016 MB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.9647, allocations: 0.6169 MB / 1.193 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.9679, allocations: 1.082 MB / 1.194 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.9679, allocations: 4.062 kB / 1.194 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004199/0.9721, allocations: 1.376 MB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.9722, allocations: 7.938 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9722, allocations: 0 / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.9728, allocations: 80.91 kB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.9743, allocations: 275.6 kB / 1.196 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.9766, allocations: 1.534 MB / 1.198 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.9781, allocations: 164.9 kB / 1.198 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.9783, allocations: 55.95 kB / 1.198 GB, free: 7.859 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.0005964/0.9789, allocations: 287.3 kB / 1.198 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.9791, allocations: 90.88 kB / 1.198 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/0.9841, allocations: 1.672 MB / 1.2 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9841, allocations: 20 kB / 1.2 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9841, allocations: 3.938 kB / 1.2 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.9842, allocations: 3.984 kB / 1.2 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/0.9903, allocations: 2.798 MB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9904, allocations: 4 kB / 1.203 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.9918, allocations: 251.7 kB / 1.203 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.9923, allocations: 88.7 kB / 1.203 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/0.9924, allocations: 39.91 kB / 1.203 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.9944, allocations: 1.536 MB / 1.204 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9944, allocations: 4.062 kB / 1.204 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.9987, allocations: 1.527 MB / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.9992, allocations: 319.4 kB / 1.206 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.9994, allocations: 27.98 kB / 1.206 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.001, allocations: 119.9 kB / 1.206 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/1.001, allocations: 92.8 kB / 1.206 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.001, allocations: 47.97 kB / 1.206 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006364/1.002, allocations: 467 kB / 1.207 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 4 kB / 1.207 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001088/1.003, allocations: 411 kB / 1.207 GB, free: 13.82 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.002021/1.005, allocations: 0.6316 MB / 1.208 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003971/1.009, allocations: 1.386 MB / 1.209 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.009, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.011, allocations: 0.8163 MB / 1.21 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.012, allocations: 289.2 kB / 1.21 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/1.017, allocations: 2.621 MB / 1.213 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/1.018, allocations: 1.092 MB / 1.214 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001523/1.019, allocations: 331.8 kB / 1.214 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/1.02, allocations: 127.4 kB / 1.214 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of SimCode: time 1.092e-06/1.02, allocations: 0 / 1.214 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of Templates: time 0.0331/1.053, allocations: 17.55 MB / 1.232 GB, free: 5.297 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