Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_10_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.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 120 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.001301/0.001301, allocations: 194.2 kB / 16.53 MB, free: 6.668 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 59.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5101, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007556/0.5177, allocations: 5.407 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.685, allocations: 150.8 MB / 1.17 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.6857, allocations: 19.88 kB / 1.17 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.6863, allocations: 210 kB / 1.17 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.6879, allocations: 0.5752 MB / 1.171 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.6899, allocations: 0.9542 MB / 1.172 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.6914, allocations: 1.605 MB / 1.173 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6924, allocations: 0.7512 MB / 1.174 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.6931, allocations: 0.5763 MB / 1.175 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.6939, allocations: 0.6497 MB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.6941, allocations: 148 kB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.6949, allocations: 0.4918 MB / 1.176 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.6952, allocations: 362.9 kB / 1.176 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.6959, allocations: 0.6763 MB / 1.177 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.6978, allocations: 1.869 MB / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6978, allocations: 4 kB / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6978, allocations: 0 / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.6978, allocations: 0 / 1.179 GB, free: 12.68 MB / 0.9356 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.003152/0.701, allocations: 1.682 MB / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.701, allocations: 8.031 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/0.7012, allocations: 165.1 kB / 1.18 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.7069, allocations: 0.7601 MB / 1.181 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.7081, allocations: 0.8082 MB / 1.182 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.7082, allocations: 82.2 kB / 1.182 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.7084, allocations: 104 kB / 1.182 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/0.7119, allocations: 1.436 MB / 1.184 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.712, allocations: 0 / 1.184 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.7121, allocations: 51.94 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.7121, allocations: 28 kB / 1.184 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005169/0.7173, allocations: 1.885 MB / 1.186 GB, free: 5.488 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/0.724, allocations: 3.547 MB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.7278, allocations: 1.376 MB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.7295, allocations: 0.6118 MB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/0.7303, allocations: 474.4 kB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.7324, allocations: 0.8132 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=109): time 2.274e-06/0.7324, allocations: 0 / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109): time 0.006698/0.7391, allocations: 1.977 MB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7392, allocations: 192.9 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.7401, allocations: 0.6451 MB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.7402, allocations: 45.7 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.7406, allocations: 444.5 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.741, allocations: 354.8 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/0.7413, allocations: 190.5 kB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002813/0.7416, allocations: 398.7 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.7432, allocations: 497.7 kB / 1.197 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.745, allocations: 0.6047 MB / 1.197 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.7482, allocations: 1.058 MB / 1.198 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.7482, allocations: 0 / 1.198 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004219/0.7525, allocations: 1.325 MB / 1.2 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7525, allocations: 12.06 kB / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7525, allocations: 4 kB / 1.2 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.7531, allocations: 84.77 kB / 1.2 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.7546, allocations: 263.5 kB / 1.2 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.7569, allocations: 1.628 MB / 1.202 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7581, allocations: 163.1 kB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.7582, allocations: 43.97 kB / 1.202 GB, free: 4.227 MB / 0.9512 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.0004771/0.7587, allocations: 285.5 kB / 1.202 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.759, allocations: 94.88 kB / 1.202 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/0.7641, allocations: 1.684 MB / 1.204 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.7641, allocations: 12 kB / 1.204 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7641, allocations: 4 kB / 1.204 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.7641, allocations: 11.92 kB / 1.204 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.7704, allocations: 2.798 MB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.7704, allocations: 0 / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.7718, allocations: 263.6 kB / 1.207 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.7723, allocations: 68.8 kB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-05/0.7724, allocations: 35.97 kB / 1.207 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.7746, allocations: 1.658 MB / 1.209 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7746, allocations: 4.125 kB / 1.209 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004329/0.7789, allocations: 1.531 MB / 1.21 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.7794, allocations: 319.5 kB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7796, allocations: 28 kB / 1.21 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.7809, allocations: 118.1 kB / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.781, allocations: 84.88 kB / 1.211 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7812, allocations: 47.95 kB / 1.211 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006198/0.7818, allocations: 475 kB / 1.211 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7818, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009865/0.7828, allocations: 403 kB / 1.211 GB, free: 10.07 MB / 0.9669 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.006557/0.7894, allocations: 2.605 MB / 1.214 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005082/0.7945, allocations: 1.632 MB / 1.216 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7945, allocations: 0 / 1.216 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.7966, allocations: 0.8164 MB / 1.216 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.798, allocations: 321.8 kB / 1.217 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.8159, allocations: 8.477 MB / 1.225 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.8167, allocations: 1.084 MB / 1.226 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001489/0.8182, allocations: 343.8 kB / 1.226 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/0.819, allocations: 459.2 kB / 1.227 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.819, allocations: 4 kB / 1.227 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06102/0.88, allocations: 25.32 MB / 1.252 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.6, allocations: 7.969 kB / 1.252 GB, free: 1.367 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches