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.001755/0.001755, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.003435/0.003435, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.12 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.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.17 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006139/0.255, allocations: 4.66 MB / 0.9557 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6511/0.9061, allocations: 150.8 MB / 1.103 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.907, allocations: 16.66 kB / 1.103 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.9076, allocations: 186 kB / 1.103 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.9095, allocations: 0.5101 MB / 1.104 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9116, allocations: 0.9425 MB / 1.104 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.9133, allocations: 1.492 MB / 1.106 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.9144, allocations: 0.7921 MB / 1.107 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007822/0.9152, allocations: 0.5685 MB / 1.107 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.9159, allocations: 0.631 MB / 1.108 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.9162, allocations: 142.1 kB / 1.108 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.9172, allocations: 0.5222 MB / 1.109 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.9175, allocations: 358.6 kB / 1.109 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.9181, allocations: 0.6552 MB / 1.11 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.9204, allocations: 1.869 MB / 1.111 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9204, allocations: 1.156 kB / 1.111 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9204, allocations: 0 / 1.111 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.811e-05/0.9204, allocations: 0.5625 kB / 1.111 GB, free: 3.809 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.003294/0.9237, allocations: 1.659 MB / 1.113 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.9238, allocations: 10.47 kB / 1.113 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.9289, allocations: 0.7535 MB / 1.114 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.9303, allocations: 0.8294 MB / 1.115 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.9304, allocations: 83.73 kB / 1.115 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.9305, allocations: 106.6 kB / 1.115 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.9337, allocations: 1.434 MB / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.9337, allocations: 0 / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.9339, allocations: 48.44 kB / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.9339, allocations: 27.16 kB / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.9383, allocations: 1.887 MB / 1.118 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00577/0.9441, allocations: 3.235 MB / 1.121 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.9473, allocations: 1.36 MB / 1.123 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.9487, allocations: 0.6018 MB / 1.123 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.9493, allocations: 477 kB / 1.124 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.9511, allocations: 0.8067 MB / 1.124 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.885e-06/0.9511, allocations: 2.641 kB / 1.124 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005746/0.9568, allocations: 1.964 MB / 1.126 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.9569, allocations: 196.5 kB / 1.126 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.9577, allocations: 0.6461 MB / 1.127 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.9579, allocations: 53.42 kB / 1.127 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.9582, allocations: 443.5 kB / 1.128 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.9584, allocations: 358.7 kB / 1.128 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.9587, allocations: 201.3 kB / 1.128 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9589, allocations: 398.1 kB / 1.128 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.9603, allocations: 0.4981 MB / 1.129 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.9617, allocations: 0.6136 MB / 1.13 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.9644, allocations: 1.078 MB / 1.131 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9645, allocations: 5.875 kB / 1.131 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00372/0.9682, allocations: 1.373 MB / 1.132 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9682, allocations: 6.062 kB / 1.132 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9682, allocations: 1.375 kB / 1.132 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.9688, allocations: 87.77 kB / 1.132 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9702, allocations: 266.4 kB / 1.132 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.9721, allocations: 1.64 MB / 1.134 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.9734, allocations: 158.1 kB / 1.134 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.9736, allocations: 48.88 kB / 1.134 GB, free: 13.55 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.0005608/0.9741, allocations: 297.9 kB / 1.134 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.9743, allocations: 95.94 kB / 1.134 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.9786, allocations: 1.669 MB / 1.136 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.9787, allocations: 15.69 kB / 1.136 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9787, allocations: 1.781 kB / 1.136 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.9787, allocations: 6.891 kB / 1.136 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.9845, allocations: 2.844 MB / 1.139 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9845, allocations: 4.812 kB / 1.139 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.9857, allocations: 255 kB / 1.139 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.9862, allocations: 75.03 kB / 1.139 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.9863, allocations: 38.08 kB / 1.139 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.9881, allocations: 1.646 MB / 1.141 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9881, allocations: 4.062 kB / 1.141 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/0.9919, allocations: 1.535 MB / 1.142 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.9925, allocations: 321.6 kB / 1.143 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.9927, allocations: 25.34 kB / 1.143 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9939, allocations: 120.7 kB / 1.143 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.9941, allocations: 85.7 kB / 1.143 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9942, allocations: 47.02 kB / 1.143 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006096/0.9948, allocations: 478 kB / 1.143 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9948, allocations: 0 / 1.143 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00116/0.996, allocations: 380.7 kB / 1.144 GB, free: 10.28 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.0014/0.9974, allocations: 0.6321 MB / 1.144 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003581/1.001, allocations: 1.397 MB / 1.146 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.001, allocations: 1.094 kB / 1.146 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.003, allocations: 0.812 MB / 1.147 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.004, allocations: 305.6 kB / 1.147 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/1.009, allocations: 2.203 MB / 1.149 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/1.009, allocations: 1.079 MB / 1.15 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001232/1.011, allocations: 339.8 kB / 1.15 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/1.011, allocations: 129.4 kB / 1.15 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/1.011, allocations: 1.094 kB / 1.15 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of Templates: time 0.02781/1.039, allocations: 18.22 MB / 1.168 GB, free: 14.56 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 gbode -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