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.001551/0.001552, allocations: 105.3 kB / 16.27 MB, free: 5.949 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.001458/0.001458, allocations: 190.1 kB / 17.2 MB, free: 5.586 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.66 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007165/0.2812, allocations: 4.653 MB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7108/0.9921, allocations: 150.8 MB / 1.102 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.993, allocations: 17.16 kB / 1.102 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.9936, allocations: 183.1 kB / 1.102 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.9955, allocations: 0.5226 MB / 1.103 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.9981, allocations: 0.92 MB / 1.104 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002484/1.001, allocations: 1.492 MB / 1.105 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/1.002, allocations: 0.7894 MB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/1.003, allocations: 0.5732 MB / 1.106 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/1.004, allocations: 0.624 MB / 1.107 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/1.004, allocations: 142.4 kB / 1.107 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/1.006, allocations: 0.4987 MB / 1.108 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/1.006, allocations: 357.2 kB / 1.108 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008517/1.007, allocations: 0.653 MB / 1.109 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/1.01, allocations: 1.823 MB / 1.11 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.01, allocations: 6.406 kB / 1.11 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/1.01, allocations: 0 / 1.11 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.884e-05/1.01, allocations: 0 / 1.11 GB, free: 3.949 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.003729/1.014, allocations: 1.655 MB / 1.112 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.014, allocations: 13.66 kB / 1.112 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/1.02, allocations: 0.7558 MB / 1.113 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/1.021, allocations: 0.808 MB / 1.114 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/1.021, allocations: 81.3 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.021, allocations: 106.4 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/1.025, allocations: 1.433 MB / 1.115 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.025, allocations: 0 / 1.115 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.025, allocations: 49.94 kB / 1.115 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/1.025, allocations: 26.72 kB / 1.115 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/1.03, allocations: 1.891 MB / 1.117 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00668/1.037, allocations: 3.262 MB / 1.12 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/1.041, allocations: 1.384 MB / 1.122 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/1.042, allocations: 0.5927 MB / 1.122 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/1.043, allocations: 483.1 kB / 1.123 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/1.045, allocations: 0.7999 MB / 1.123 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 3.155e-06/1.045, allocations: 0 / 1.123 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006206/1.051, allocations: 1.973 MB / 1.125 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.052, allocations: 194.2 kB / 1.126 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/1.052, allocations: 0.6512 MB / 1.126 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.053, allocations: 45.77 kB / 1.126 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.053, allocations: 441 kB / 1.127 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/1.053, allocations: 359.7 kB / 1.127 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/1.054, allocations: 204.4 kB / 1.127 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.054, allocations: 399.1 kB / 1.128 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.055, allocations: 0.4958 MB / 1.128 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.057, allocations: 0.6127 MB / 1.129 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.06, allocations: 1.079 MB / 1.13 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.06, allocations: 5.031 kB / 1.13 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004399/1.064, allocations: 1.372 MB / 1.131 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.064, allocations: 11.69 kB / 1.131 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.064, allocations: 1.156 kB / 1.131 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/1.065, allocations: 83.59 kB / 1.131 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.066, allocations: 269.3 kB / 1.131 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.069, allocations: 1.634 MB / 1.133 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.07, allocations: 159.6 kB / 1.133 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/1.07, allocations: 51.39 kB / 1.133 GB, free: 13.72 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.0008649/1.071, allocations: 290.6 kB / 1.133 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/1.072, allocations: 96.34 kB / 1.134 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/1.077, allocations: 1.675 MB / 1.135 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.077, allocations: 12.22 kB / 1.135 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.077, allocations: 0 / 1.135 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.077, allocations: 11.95 kB / 1.135 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006949/1.084, allocations: 2.836 MB / 1.138 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.084, allocations: 5.188 kB / 1.138 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.085, allocations: 254.5 kB / 1.138 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.086, allocations: 78.47 kB / 1.138 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.086, allocations: 37.5 kB / 1.138 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.088, allocations: 1.647 MB / 1.14 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.088, allocations: 0 / 1.14 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/1.092, allocations: 1.532 MB / 1.141 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/1.093, allocations: 321.5 kB / 1.142 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.093, allocations: 22.72 kB / 1.142 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.094, allocations: 124.4 kB / 1.142 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.095, allocations: 89.14 kB / 1.142 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.095, allocations: 50.98 kB / 1.142 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006882/1.095, allocations: 469.9 kB / 1.142 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.91e-07/1.095, allocations: 0 / 1.142 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001361/1.097, allocations: 383.4 kB / 1.143 GB, free: 10.62 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.001482/1.098, allocations: 0.6321 MB / 1.143 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005129/1.103, allocations: 1.667 MB / 1.145 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.103, allocations: 3.484 kB / 1.145 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/1.105, allocations: 0.8109 MB / 1.146 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.107, allocations: 299.4 kB / 1.146 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/1.112, allocations: 2.273 MB / 1.148 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/1.113, allocations: 1.085 MB / 1.149 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/1.114, allocations: 142.7 kB / 1.15 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/1.114, allocations: 0 / 1.15 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of Templates: time 0.0313/1.145, allocations: 22.52 MB / 1.172 GB, free: 12.36 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