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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.172/1.172, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.017/2.017, allocations: 390.2 MB / 0.6647 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4747, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004551/0.4792, allocations: 4.636 MB / 0.9543 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.129/0.6082, allocations: 150.8 MB / 1.101 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.609, allocations: 19.88 kB / 1.101 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.6096, allocations: 186.3 kB / 1.102 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.6112, allocations: 0.5161 MB / 1.102 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.6131, allocations: 0.9384 MB / 1.103 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.6145, allocations: 1.481 MB / 1.105 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000919/0.6154, allocations: 0.7937 MB / 1.105 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.6161, allocations: 0.5645 MB / 1.106 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.6167, allocations: 0.6301 MB / 1.106 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.617, allocations: 140 kB / 1.107 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.6178, allocations: 0.4995 MB / 1.107 GB, free: 16 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.6181, allocations: 363 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.6186, allocations: 0.6451 MB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.6202, allocations: 1.83 MB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6203, allocations: 8 kB / 1.11 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6203, allocations: 0 / 1.11 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.6203, allocations: 0 / 1.11 GB, free: 13.17 MB / 0.8731 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.00282/0.6231, allocations: 1.657 MB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.6232, allocations: 12.03 kB / 1.112 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.6233, allocations: 173.1 kB / 1.112 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.6283, allocations: 0.76 MB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6293, allocations: 0.8082 MB / 1.113 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.6293, allocations: 82.2 kB / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.6295, allocations: 100 kB / 1.113 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.6323, allocations: 1.436 MB / 1.115 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6324, allocations: 4 kB / 1.115 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.6325, allocations: 48 kB / 1.115 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.6325, allocations: 24 kB / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.6368, allocations: 1.889 MB / 1.117 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/0.6421, allocations: 3.272 MB / 1.12 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.6452, allocations: 1.371 MB / 1.121 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.6466, allocations: 0.5972 MB / 1.122 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.6472, allocations: 478.5 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.649, allocations: 0.8087 MB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 2.234e-06/0.649, allocations: 0 / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.005606/0.6546, allocations: 1.969 MB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.6547, allocations: 200.8 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.6553, allocations: 0.645 MB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/0.6554, allocations: 49.7 kB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.6557, allocations: 440.5 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.6559, allocations: 354.8 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.6562, allocations: 194.5 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6564, allocations: 398.7 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.6578, allocations: 493.6 kB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.6592, allocations: 0.6008 MB / 1.128 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.662, allocations: 1.058 MB / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.662, allocations: 0 / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003575/0.6655, allocations: 1.321 MB / 1.131 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6656, allocations: 5.406 kB / 1.131 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6656, allocations: 4 kB / 1.131 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.6661, allocations: 80.91 kB / 1.131 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.6674, allocations: 259.6 kB / 1.131 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.6692, allocations: 1.638 MB / 1.132 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.6704, allocations: 163.1 kB / 1.133 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.6705, allocations: 39.97 kB / 1.133 GB, free: 5.102 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (116): * Single equations (assignments): 115 * 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.0003721/0.6708, allocations: 295.5 kB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.671, allocations: 94.88 kB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.6753, allocations: 1.668 MB / 1.135 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6753, allocations: 12 kB / 1.135 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6753, allocations: 0 / 1.135 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.6753, allocations: 15.91 kB / 1.135 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.6806, allocations: 2.859 MB / 1.138 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6807, allocations: 0 / 1.138 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.6819, allocations: 255.6 kB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.6823, allocations: 68.8 kB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/0.6824, allocations: 35.97 kB / 1.138 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.684, allocations: 1.658 MB / 1.139 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.684, allocations: 0 / 1.139 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.6876, allocations: 1.527 MB / 1.141 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.688, allocations: 327.3 kB / 1.141 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.6882, allocations: 24 kB / 1.141 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6893, allocations: 121.3 kB / 1.141 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6895, allocations: 88.88 kB / 1.141 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/0.6896, allocations: 51.95 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004825/0.69, allocations: 471 kB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6901, allocations: 0 / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007814/0.6908, allocations: 375 kB / 1.142 GB, free: 10.93 MB / 0.9044 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.004963/0.6958, allocations: 2.61 MB / 1.145 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004251/0.7001, allocations: 1.628 MB / 1.146 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7001, allocations: 0 / 1.146 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.7019, allocations: 0.8086 MB / 1.147 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.703, allocations: 305.3 kB / 1.148 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.7184, allocations: 8.594 MB / 1.156 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.719, allocations: 1.09 MB / 1.157 GB, free: 11.81 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7202, allocations: 335.7 kB / 1.157 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/0.7209, allocations: 459.2 kB / 1.158 GB, free: 11.03 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.7209, allocations: 7.938 kB / 1.158 GB, free: 11.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.7671, allocations: 25.22 MB / 1.182 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.87, allocations: 20.05 kB / 1.182 GB, free: 2.191 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/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