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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_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.001815/0.001815, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002026/0.002026, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.3 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8117, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007835/0.8195, allocations: 5.386 MB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2036/1.023, allocations: 150.8 MB / 1.235 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/1.025, allocations: 15.94 kB / 1.235 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007434/1.025, allocations: 213.9 kB / 1.236 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/1.028, allocations: 0.583 MB / 1.236 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/1.031, allocations: 0.9409 MB / 1.237 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002196/1.033, allocations: 1.609 MB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/1.034, allocations: 0.7513 MB / 1.239 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009226/1.035, allocations: 0.5801 MB / 1.24 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000831/1.036, allocations: 0.6496 MB / 1.241 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/1.036, allocations: 140 kB / 1.241 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/1.037, allocations: 0.4996 MB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004811/1.038, allocations: 354.9 kB / 1.242 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008823/1.039, allocations: 0.6763 MB / 1.242 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/1.041, allocations: 1.865 MB / 1.244 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.041, allocations: 4 kB / 1.244 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/1.041, allocations: 0 / 1.244 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.041, allocations: 0 / 1.244 GB, free: 9.309 MB / 0.9669 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.003569/1.045, allocations: 1.676 MB / 1.246 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.045, allocations: 8.031 kB / 1.246 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005596/1.051, allocations: 0.7561 MB / 1.247 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/1.052, allocations: 0.8163 MB / 1.247 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/1.052, allocations: 78.2 kB / 1.247 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/1.052, allocations: 108 kB / 1.247 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/1.056, allocations: 1.432 MB / 1.249 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.056, allocations: 0 / 1.249 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.056, allocations: 48 kB / 1.249 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/1.056, allocations: 28 kB / 1.249 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/1.061, allocations: 1.885 MB / 1.251 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007242/1.069, allocations: 3.643 MB / 1.254 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/1.072, allocations: 1.375 MB / 1.256 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/1.074, allocations: 0.5972 MB / 1.256 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/1.075, allocations: 486.5 kB / 1.257 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/1.077, allocations: 0.7971 MB / 1.258 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 2.635e-06/1.077, allocations: 0 / 1.258 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.006715/1.084, allocations: 1.977 MB / 1.259 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.084, allocations: 196.9 kB / 1.26 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.085, allocations: 0.6488 MB / 1.26 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.085, allocations: 45.7 kB / 1.26 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/1.086, allocations: 448.5 kB / 1.261 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/1.086, allocations: 350.9 kB / 1.261 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/1.086, allocations: 202.5 kB / 1.261 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002504/1.087, allocations: 398.7 kB / 1.262 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.088, allocations: 0.5016 MB / 1.262 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.09, allocations: 0.6168 MB / 1.263 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/1.093, allocations: 1.082 MB / 1.264 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/1.093, allocations: 4 kB / 1.264 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004391/1.098, allocations: 1.379 MB / 1.265 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.098, allocations: 4 kB / 1.265 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.098, allocations: 0 / 1.265 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/1.098, allocations: 88.89 kB / 1.265 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.1, allocations: 267.6 kB / 1.266 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.102, allocations: 1.641 MB / 1.267 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.104, allocations: 163 kB / 1.267 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.104, allocations: 51.95 kB / 1.267 GB, free: 0.8008 MB / 0.9825 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.0006247/1.105, allocations: 291.3 kB / 1.268 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.105, allocations: 98.8 kB / 1.268 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/1.11, allocations: 1.672 MB / 1.269 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.11, allocations: 12 kB / 1.269 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.11, allocations: 4 kB / 1.269 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.11, allocations: 7.969 kB / 1.269 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/1.116, allocations: 2.796 MB / 1.272 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.116, allocations: 4 kB / 1.272 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.118, allocations: 243.7 kB / 1.272 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.118, allocations: 76.72 kB / 1.272 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/1.118, allocations: 39.97 kB / 1.272 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.12, allocations: 1.658 MB / 1.274 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.12, allocations: 7.875 kB / 1.274 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/1.125, allocations: 1.523 MB / 1.276 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/1.126, allocations: 319.5 kB / 1.276 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.126, allocations: 27.98 kB / 1.276 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.127, allocations: 117.9 kB / 1.276 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.127, allocations: 84.88 kB / 1.276 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.127, allocations: 51.97 kB / 1.276 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007089/1.128, allocations: 475 kB / 1.277 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.128, allocations: 0 / 1.277 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00126/1.129, allocations: 403 kB / 1.277 GB, free: 6.66 MB / 0.9981 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.00208/1.131, allocations: 0.6278 MB / 1.278 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005352/1.137, allocations: 1.667 MB / 1.279 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.137, allocations: 0 / 1.279 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/1.139, allocations: 0.8124 MB / 1.28 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.141, allocations: 324.6 kB / 1.28 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/1.145, allocations: 2.173 MB / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/1.146, allocations: 1.08 MB / 1.283 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/1.147, allocations: 147.3 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.147, allocations: 3.938 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of Templates: time 0.03364/1.181, allocations: 22.73 MB / 1.306 GB, free: 9.324 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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