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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001191/0.001191, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001142/0.001142, allocations: 191.3 kB / 17.31 MB, free: 5.613 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.77 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007101/0.3251, allocations: 4.657 MB / 0.9557 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8825/1.208, allocations: 150.7 MB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/1.209, allocations: 16.62 kB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/1.21, allocations: 184.6 kB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/1.212, allocations: 0.508 MB / 1.104 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/1.214, allocations: 0.9387 MB / 1.104 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002488/1.217, allocations: 1.498 MB / 1.106 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.218, allocations: 0.7987 MB / 1.107 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/1.219, allocations: 0.5719 MB / 1.107 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/1.22, allocations: 0.6267 MB / 1.108 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/1.221, allocations: 143.3 kB / 1.108 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/1.222, allocations: 0.5243 MB / 1.109 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004485/1.223, allocations: 356 kB / 1.109 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009294/1.223, allocations: 0.6478 MB / 1.11 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003578/1.227, allocations: 1.877 MB / 1.111 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.227, allocations: 4 kB / 1.111 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.227, allocations: 0 / 1.111 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.813e-05/1.227, allocations: 0 / 1.111 GB, free: 3.801 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.004444/1.232, allocations: 1.65 MB / 1.113 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.232, allocations: 13.59 kB / 1.113 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/1.237, allocations: 0.7571 MB / 1.114 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/1.239, allocations: 0.8316 MB / 1.115 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/1.239, allocations: 81.55 kB / 1.115 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/1.24, allocations: 106.5 kB / 1.115 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/1.243, allocations: 1.433 MB / 1.116 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.243, allocations: 0 / 1.116 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.244, allocations: 47.81 kB / 1.116 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/1.244, allocations: 26.72 kB / 1.116 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/1.248, allocations: 1.89 MB / 1.118 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006918/1.255, allocations: 3.227 MB / 1.121 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/1.259, allocations: 1.376 MB / 1.123 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/1.26, allocations: 0.5956 MB / 1.123 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/1.261, allocations: 481.1 kB / 1.124 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/1.263, allocations: 0.7983 MB / 1.124 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.726e-06/1.263, allocations: 4 kB / 1.124 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005869/1.269, allocations: 1.97 MB / 1.126 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.269, allocations: 191.5 kB / 1.126 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.27, allocations: 0.6507 MB / 1.127 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.27, allocations: 45.86 kB / 1.127 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/1.27, allocations: 445.3 kB / 1.128 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/1.271, allocations: 361.6 kB / 1.128 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/1.271, allocations: 204.7 kB / 1.128 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.271, allocations: 394.5 kB / 1.128 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.272, allocations: 0.5006 MB / 1.129 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/1.274, allocations: 0.6149 MB / 1.13 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.277, allocations: 1.079 MB / 1.131 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.277, allocations: 3.938 kB / 1.131 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003883/1.281, allocations: 1.374 MB / 1.132 GB, free: 15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.281, allocations: 9.406 kB / 1.132 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.281, allocations: 1.219 kB / 1.132 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/1.281, allocations: 83.3 kB / 1.132 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.283, allocations: 271.8 kB / 1.132 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/1.285, allocations: 1.637 MB / 1.134 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.286, allocations: 161.6 kB / 1.134 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.287, allocations: 44.5 kB / 1.134 GB, free: 13.54 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.0006548/1.287, allocations: 290.6 kB / 1.134 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/1.287, allocations: 102.2 kB / 1.134 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/1.292, allocations: 1.662 MB / 1.136 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.292, allocations: 11.78 kB / 1.136 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.292, allocations: 7.859 kB / 1.136 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.292, allocations: 8.078 kB / 1.136 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.298, allocations: 2.848 MB / 1.139 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.298, allocations: 6.516 kB / 1.139 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.3, allocations: 256.6 kB / 1.139 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/1.3, allocations: 74.05 kB / 1.139 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.3, allocations: 34.92 kB / 1.139 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.302, allocations: 1.652 MB / 1.141 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.302, allocations: 0 / 1.141 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/1.306, allocations: 1.532 MB / 1.142 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006735/1.307, allocations: 325.1 kB / 1.143 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/1.307, allocations: 24.34 kB / 1.143 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.308, allocations: 119.2 kB / 1.143 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.309, allocations: 86.19 kB / 1.143 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.309, allocations: 45.8 kB / 1.143 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007493/1.31, allocations: 480 kB / 1.143 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.31, allocations: 0 / 1.143 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001432/1.311, allocations: 379.3 kB / 1.144 GB, free: 10.3 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.001509/1.313, allocations: 0.6252 MB / 1.144 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003826/1.316, allocations: 1.402 MB / 1.146 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/1.316, allocations: 0 / 1.146 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.318, allocations: 0.8122 MB / 1.147 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.32, allocations: 308.7 kB / 1.147 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/1.326, allocations: 2.196 MB / 1.149 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.326, allocations: 1.082 MB / 1.15 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001496/1.328, allocations: 339.2 kB / 1.15 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/1.328, allocations: 134.7 kB / 1.15 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of SimCode: time 7.82e-07/1.328, allocations: 0 / 1.15 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of Templates: time 0.03162/1.36, allocations: 18.2 MB / 1.168 GB, free: 14.58 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 -s cvode -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) Reference file matches