Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002832/0.002832, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.116/3.116, allocations: 0.4893 GB / 0.7884 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 62.36 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3897, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.0089/0.3986, allocations: 5.458 MB / 1.321 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.5885, allocations: 151.4 MB / 1.469 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5898, allocations: 23.81 kB / 1.469 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.5905, allocations: 214 kB / 1.469 GB, free: 12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.5926, allocations: 0.5856 MB / 1.47 GB, free: 11.42 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.5951, allocations: 0.9743 MB / 1.471 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002198/0.5973, allocations: 1.62 MB / 1.473 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009537/0.5983, allocations: 0.5139 MB / 1.473 GB, free: 8.266 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.5993, allocations: 0.6113 MB / 1.474 GB, free: 7.652 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.6001, allocations: 0.6458 MB / 1.474 GB, free: 7.004 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.6003, allocations: 144 kB / 1.474 GB, free: 6.863 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.6014, allocations: 0.5308 MB / 1.475 GB, free: 6.332 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.6018, allocations: 362.8 kB / 1.475 GB, free: 5.977 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.6024, allocations: 0.6647 MB / 1.476 GB, free: 5.309 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.6051, allocations: 1.93 MB / 1.478 GB, free: 3.371 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6051, allocations: 0 / 1.478 GB, free: 3.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6051, allocations: 0 / 1.478 GB, free: 3.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.6051, allocations: 0 / 1.478 GB, free: 3.371 MB / 1.17 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.003399/0.6085, allocations: 1.642 MB / 1.479 GB, free: 1.691 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6086, allocations: 12.03 kB / 1.479 GB, free: 1.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005192/0.6138, allocations: 0.7647 MB / 1.48 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.6155, allocations: 0.7642 MB / 1.481 GB, free: 128 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.6155, allocations: 78.2 kB / 1.481 GB, free: 48 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.6157, allocations: 112 kB / 1.481 GB, free: 15.94 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.6191, allocations: 1.436 MB / 1.483 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6192, allocations: 0 / 1.483 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.6193, allocations: 51.94 kB / 1.483 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.6193, allocations: 24 kB / 1.483 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.624, allocations: 1.889 MB / 1.484 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006619/0.6306, allocations: 3.55 MB / 1.488 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.6339, allocations: 1.217 MB / 1.489 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.6354, allocations: 0.5473 MB / 1.49 GB, free: 6.988 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.6359, allocations: 101 kB / 1.49 GB, free: 6.891 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.6379, allocations: 0.8126 MB / 1.49 GB, free: 6.059 MB / 1.186 GB Notification: Performance of pre-optimization done (n=109): time 2.575e-06/0.6379, allocations: 0 / 1.49 GB, free: 6.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=109): time 0.0062/0.6441, allocations: 1.902 MB / 1.492 GB, free: 4.148 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.6442, allocations: 196.9 kB / 1.493 GB, free: 3.914 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/0.6451, allocations: 0.6489 MB / 1.493 GB, free: 3.254 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.6453, allocations: 45.7 kB / 1.493 GB, free: 3.203 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.6457, allocations: 445.4 kB / 1.494 GB, free: 2.762 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.646, allocations: 376.8 kB / 1.494 GB, free: 2.391 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/0.6464, allocations: 206.5 kB / 1.494 GB, free: 2.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6466, allocations: 394.7 kB / 1.495 GB, free: 1.785 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.6481, allocations: 0.5055 MB / 1.495 GB, free: 1.281 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.6497, allocations: 0.6131 MB / 1.496 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.6528, allocations: 1.082 MB / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6528, allocations: 0 / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004289/0.6571, allocations: 1.376 MB / 1.498 GB, free: 14.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.6571, allocations: 8 kB / 1.498 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6572, allocations: 0 / 1.498 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.6578, allocations: 88.83 kB / 1.498 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.6592, allocations: 271.6 kB / 1.498 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.6616, allocations: 1.531 MB / 1.5 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.663, allocations: 164.9 kB / 1.5 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.6631, allocations: 47.95 kB / 1.5 GB, free: 11.95 MB / 1.201 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.000577/0.6637, allocations: 292.7 kB / 1.5 GB, free: 11.65 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6639, allocations: 103.3 kB / 1.5 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.6686, allocations: 1.672 MB / 1.502 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.6686, allocations: 15.94 kB / 1.502 GB, free: 9.852 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6686, allocations: 0 / 1.502 GB, free: 9.852 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.6686, allocations: 7.984 kB / 1.502 GB, free: 9.844 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.6747, allocations: 2.778 MB / 1.505 GB, free: 7.012 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6747, allocations: 0 / 1.505 GB, free: 7.012 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.6761, allocations: 255.6 kB / 1.505 GB, free: 6.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/0.6765, allocations: 76.78 kB / 1.505 GB, free: 6.684 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.119e-05/0.6766, allocations: 35.97 kB / 1.505 GB, free: 6.648 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.6787, allocations: 1.551 MB / 1.507 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6787, allocations: 7.875 kB / 1.507 GB, free: 4.961 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.6828, allocations: 1.533 MB / 1.508 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.6834, allocations: 243 kB / 1.508 GB, free: 3.172 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.6836, allocations: 27.94 kB / 1.508 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6848, allocations: 127.9 kB / 1.509 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.685, allocations: 92.77 kB / 1.509 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6851, allocations: 43.97 kB / 1.509 GB, free: 2.883 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006847/0.6858, allocations: 471 kB / 1.509 GB, free: 2.426 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6858, allocations: 0 / 1.509 GB, free: 2.426 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00112/0.6869, allocations: 410.9 kB / 1.51 GB, free: 2.023 MB / 1.201 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.002034/0.6889, allocations: 0.6324 MB / 1.51 GB, free: 1.566 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.6928, allocations: 1.335 MB / 1.512 GB, free: 228 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6928, allocations: 0 / 1.512 GB, free: 228 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.6947, allocations: 0.7616 MB / 1.512 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6961, allocations: 311.8 kB / 1.513 GB, free: 15.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.7008, allocations: 2.123 MB / 1.515 GB, free: 13.01 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.7015, allocations: 1.088 MB / 1.516 GB, free: 11.89 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001313/0.7029, allocations: 339.8 kB / 1.516 GB, free: 11.55 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.7033, allocations: 127.4 kB / 1.516 GB, free: 11.43 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/0.7033, allocations: 0 / 1.516 GB, free: 11.43 MB / 1.217 GB Notification: Performance of Templates: time 0.03426/0.7375, allocations: 19.21 MB / 1.535 GB, free: 8.426 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.977981914766133]