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.001617/0.001617, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00176/0.00176, allocations: 187 kB / 17.34 MB, free: 5.719 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.545/1.545, allocations: 222.9 MB / 241 MB, free: 15.14 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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9127, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006051/0.9188, allocations: 4.647 MB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2032/1.122, allocations: 150.7 MB / 1.24 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/1.124, allocations: 19.53 kB / 1.24 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009658/1.125, allocations: 184.2 kB / 1.241 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/1.127, allocations: 0.5164 MB / 1.241 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/1.13, allocations: 0.9422 MB / 1.242 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002385/1.133, allocations: 1.495 MB / 1.243 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.134, allocations: 0.7948 MB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/1.136, allocations: 0.583 MB / 1.245 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.137, allocations: 0.6305 MB / 1.245 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005604/1.138, allocations: 143.9 kB / 1.246 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/1.139, allocations: 0.5191 MB / 1.246 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/1.14, allocations: 362.8 kB / 1.246 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000922/1.141, allocations: 0.649 MB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/1.144, allocations: 1.875 MB / 1.249 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.144, allocations: 0 / 1.249 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/1.144, allocations: 4 kB / 1.249 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.696e-05/1.144, allocations: 0 / 1.249 GB, free: 9.613 MB / 0.9825 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.004121/1.148, allocations: 1.653 MB / 1.25 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.148, allocations: 8.031 kB / 1.25 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/1.153, allocations: 0.7523 MB / 1.251 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/1.155, allocations: 0.8435 MB / 1.252 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/1.155, allocations: 82.19 kB / 1.252 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/1.155, allocations: 108 kB / 1.252 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/1.159, allocations: 1.432 MB / 1.254 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.159, allocations: 0 / 1.254 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/1.159, allocations: 48 kB / 1.254 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/1.159, allocations: 24 kB / 1.254 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/1.164, allocations: 1.889 MB / 1.256 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/1.171, allocations: 3.218 MB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/1.174, allocations: 1.374 MB / 1.26 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.176, allocations: 0.5917 MB / 1.261 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007093/1.177, allocations: 482.6 kB / 1.261 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001923/1.179, allocations: 0.8087 MB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.506e-06/1.179, allocations: 0 / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006193/1.185, allocations: 1.969 MB / 1.264 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.185, allocations: 192.9 kB / 1.264 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.186, allocations: 0.6566 MB / 1.265 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.186, allocations: 45.7 kB / 1.265 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/1.187, allocations: 440.5 kB / 1.265 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/1.187, allocations: 358.8 kB / 1.265 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/1.187, allocations: 206.4 kB / 1.266 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.188, allocations: 398.7 kB / 1.266 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.189, allocations: 0.5016 MB / 1.266 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/1.191, allocations: 0.6169 MB / 1.267 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/1.194, allocations: 1.082 MB / 1.268 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.194, allocations: 0 / 1.268 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003989/1.198, allocations: 1.368 MB / 1.269 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.198, allocations: 4 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.198, allocations: 4 kB / 1.269 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/1.198, allocations: 80.91 kB / 1.27 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.2, allocations: 271.6 kB / 1.27 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.202, allocations: 1.626 MB / 1.271 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.204, allocations: 165.7 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/1.204, allocations: 47.97 kB / 1.272 GB, free: 1.645 MB / 0.9981 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.0006923/1.204, allocations: 291.3 kB / 1.272 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/1.205, allocations: 102.8 kB / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/1.209, allocations: 1.668 MB / 1.274 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.209, allocations: 12 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.209, allocations: 3.938 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.21, allocations: 11.97 kB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/1.216, allocations: 2.85 MB / 1.276 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.216, allocations: 0 / 1.276 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.217, allocations: 251.7 kB / 1.277 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/1.218, allocations: 80.72 kB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.218, allocations: 35.97 kB / 1.277 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.22, allocations: 1.658 MB / 1.278 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.22, allocations: 8 kB / 1.278 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/1.224, allocations: 1.521 MB / 1.28 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/1.225, allocations: 327.3 kB / 1.28 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/1.225, allocations: 28 kB / 1.28 GB, free: 8.535 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.227, allocations: 119.9 kB / 1.28 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.227, allocations: 84.94 kB / 1.28 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.227, allocations: 47.97 kB / 1.28 GB, free: 8.289 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007577/1.228, allocations: 475 kB / 1.281 GB, free: 7.832 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.228, allocations: 0 / 1.281 GB, free: 7.832 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001291/1.229, allocations: 391 kB / 1.281 GB, free: 7.449 MB / 1.014 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.001594/1.231, allocations: 0.6187 MB / 1.282 GB, free: 7.004 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004022/1.235, allocations: 1.386 MB / 1.283 GB, free: 5.605 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.235, allocations: 4 kB / 1.283 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/1.237, allocations: 0.8163 MB / 1.284 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.239, allocations: 309.2 kB / 1.284 GB, free: 4.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/1.244, allocations: 2.239 MB / 1.287 GB, free: 2.219 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/1.245, allocations: 1.08 MB / 1.288 GB, free: 1.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/1.246, allocations: 151.3 kB / 1.288 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/1.246, allocations: 0 / 1.288 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of Templates: time 0.0351/1.281, allocations: 22.64 MB / 1.31 GB, free: 10.44 MB / 1.045 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