Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001118/0.001118, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001191/0.001191, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.66 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006487/0.2709, allocations: 4.648 MB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6706/0.9415, allocations: 148.5 MB / 1.099 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.9428, allocations: 16.69 kB / 1.099 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.9437, allocations: 152.4 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.9461, allocations: 455.7 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.9488, allocations: 0.8425 MB / 1.101 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.9512, allocations: 1.492 MB / 1.102 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.9529, allocations: 0.7893 MB / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.9544, allocations: 0.5719 MB / 1.104 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.9559, allocations: 0.6277 MB / 1.104 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006533/0.9565, allocations: 143.8 kB / 1.104 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.9582, allocations: 0.5014 MB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006344/0.9588, allocations: 367.2 kB / 1.105 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.9602, allocations: 0.6498 MB / 1.106 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.9626, allocations: 1.391 MB / 1.107 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9627, allocations: 0.75 kB / 1.107 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9627, allocations: 1.125 kB / 1.107 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.776e-05/0.9627, allocations: 0 / 1.107 GB, free: 4.316 MB / 0.8575 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.004574/0.9673, allocations: 1.655 MB / 1.109 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9674, allocations: 10 kB / 1.109 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/0.9729, allocations: 0.7545 MB / 1.11 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.9748, allocations: 0.8066 MB / 1.11 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.9749, allocations: 86.69 kB / 1.11 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.9751, allocations: 105.7 kB / 1.11 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.9788, allocations: 1.428 MB / 1.112 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.9788, allocations: 1.188 kB / 1.112 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.979, allocations: 53.97 kB / 1.112 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.979, allocations: 26.78 kB / 1.112 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004864/0.9839, allocations: 1.88 MB / 1.114 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007341/0.9913, allocations: 3.273 MB / 1.117 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/0.9949, allocations: 1.374 MB / 1.118 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.9966, allocations: 0.5974 MB / 1.119 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007861/0.9974, allocations: 475.8 kB / 1.119 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.9995, allocations: 0.8109 MB / 1.12 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 7.173e-06/0.9996, allocations: 0 / 1.12 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006483/1.006, allocations: 1.963 MB / 1.122 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.006, allocations: 202.5 kB / 1.122 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.007, allocations: 0.6478 MB / 1.123 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.008, allocations: 49.14 kB / 1.123 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/1.008, allocations: 448.4 kB / 1.123 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/1.009, allocations: 355.4 kB / 1.124 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/1.009, allocations: 203.1 kB / 1.124 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.009, allocations: 397.1 kB / 1.124 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.011, allocations: 0.4976 MB / 1.125 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/1.012, allocations: 0.6075 MB / 1.125 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/1.015, allocations: 1.078 MB / 1.126 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/1.015, allocations: 5.438 kB / 1.126 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004245/1.02, allocations: 1.373 MB / 1.128 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.02, allocations: 5.25 kB / 1.128 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.02, allocations: 2.5 kB / 1.128 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/1.02, allocations: 82.59 kB / 1.128 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.022, allocations: 268.5 kB / 1.128 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/1.024, allocations: 1.639 MB / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.026, allocations: 159.3 kB / 1.13 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.026, allocations: 50.42 kB / 1.13 GB, free: 14.04 MB / 0.8731 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.0008464/1.027, allocations: 286 kB / 1.13 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/1.027, allocations: 99.39 kB / 1.13 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/1.032, allocations: 1.677 MB / 1.132 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.032, allocations: 12.19 kB / 1.132 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.032, allocations: 0 / 1.132 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.032, allocations: 8.562 kB / 1.132 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/1.039, allocations: 2.843 MB / 1.135 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.039, allocations: 3.938 kB / 1.135 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.041, allocations: 257.2 kB / 1.135 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/1.041, allocations: 73.55 kB / 1.135 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.041, allocations: 35.7 kB / 1.135 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.043, allocations: 1.652 MB / 1.137 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.043, allocations: 0 / 1.137 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/1.048, allocations: 1.536 MB / 1.138 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007316/1.049, allocations: 320.1 kB / 1.138 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/1.049, allocations: 26.48 kB / 1.138 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.05, allocations: 123.3 kB / 1.139 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.051, allocations: 87.91 kB / 1.139 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.051, allocations: 42.94 kB / 1.139 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007708/1.052, allocations: 475.9 kB / 1.139 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.052, allocations: 1 kB / 1.139 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001454/1.053, allocations: 387.4 kB / 1.14 GB, free: 11.27 MB / 0.8731 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.001748/1.055, allocations: 0.6388 MB / 1.14 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005254/1.06, allocations: 1.66 MB / 1.142 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.06, allocations: 1.594 kB / 1.142 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/1.062, allocations: 0.8139 MB / 1.143 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.065, allocations: 297.7 kB / 1.143 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/1.071, allocations: 2.769 MB / 1.146 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008452/1.072, allocations: 1.083 MB / 1.147 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/1.073, allocations: 145.6 kB / 1.147 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of SimCode: time 1.273e-06/1.073, allocations: 2.594 kB / 1.147 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of Templates: time 0.0335/1.106, allocations: 22.52 MB / 1.169 GB, free: 13.52 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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