Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.009637/0.009637, allocations: 102.5 kB / 15.73 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.001998/0.001998, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 60.12 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3483, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008188/0.3566, allocations: 5.949 MB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8623/1.219, allocations: 150.8 MB / 1.36 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/1.22, allocations: 20.28 kB / 1.36 GB, free: 8.457 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009966/1.221, allocations: 237.1 kB / 1.361 GB, free: 8.305 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/1.224, allocations: 0.6232 MB / 1.361 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/1.226, allocations: 0.8705 MB / 1.362 GB, free: 7.477 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002929/1.229, allocations: 1.651 MB / 1.364 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.231, allocations: 0.8697 MB / 1.365 GB, free: 6.156 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/1.232, allocations: 0.6173 MB / 1.365 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.234, allocations: 0.6482 MB / 1.366 GB, free: 5.492 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005365/1.234, allocations: 154.7 kB / 1.366 GB, free: 5.492 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/1.236, allocations: 0.5173 MB / 1.366 GB, free: 5.379 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/1.236, allocations: 373.9 kB / 1.367 GB, free: 5.137 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007873/1.237, allocations: 0.7468 MB / 1.367 GB, free: 4.641 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/1.24, allocations: 2.033 MB / 1.369 GB, free: 3.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.24, allocations: 0 / 1.369 GB, free: 3.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.994e-06/1.24, allocations: 0 / 1.369 GB, free: 3.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.596e-05/1.24, allocations: 1.5 kB / 1.369 GB, free: 3.77 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003177/1.243, allocations: 1.724 MB / 1.371 GB, free: 2.629 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.243, allocations: 14.38 kB / 1.371 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/1.243, allocations: 180.8 kB / 1.371 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/1.244, allocations: 216.8 kB / 1.372 GB, free: 2.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.246, allocations: 0.8711 MB / 1.372 GB, free: 1.871 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/1.246, allocations: 88.41 kB / 1.372 GB, free: 1.832 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/1.246, allocations: 116.4 kB / 1.373 GB, free: 1.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/1.248, allocations: 1.205 MB / 1.374 GB, free: 1.047 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/1.248, allocations: 5.125 kB / 1.374 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.248, allocations: 47.12 kB / 1.374 GB, free: 1.008 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/1.248, allocations: 29.03 kB / 1.374 GB, free: 1.008 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/1.25, allocations: 1.286 MB / 1.375 GB, free: 400 kB / 1.061 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.00557/1.256, allocations: 3.537 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.258, allocations: 0.8719 MB / 1.379 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/1.258, allocations: 329.3 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/1.258, allocations: 30.89 kB / 1.38 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/1.259, allocations: 0.5172 MB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 3.026e-06/1.259, allocations: 4 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.00353/1.263, allocations: 1.281 MB / 1.382 GB, free: 11.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.263, allocations: 194.7 kB / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.264, allocations: 0.7359 MB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/1.264, allocations: 42.2 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/1.265, allocations: 0.5153 MB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.265, allocations: 279.1 kB / 1.383 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/1.265, allocations: 156.1 kB / 1.383 GB, free: 10.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.265, allocations: 342.3 kB / 1.384 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/1.266, allocations: 272.7 kB / 1.384 GB, free: 9.941 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/1.267, allocations: 385.6 kB / 1.384 GB, free: 9.703 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.268, allocations: 0.6343 MB / 1.385 GB, free: 9.363 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.268, allocations: 1.438 kB / 1.385 GB, free: 9.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00222/1.27, allocations: 0.872 MB / 1.386 GB, free: 8.918 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.27, allocations: 4.781 kB / 1.386 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.27, allocations: 1.656 kB / 1.386 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/1.271, allocations: 88.98 kB / 1.386 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/1.272, allocations: 163.7 kB / 1.386 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.274, allocations: 1.641 MB / 1.388 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/1.275, allocations: 97.58 kB / 1.388 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/1.275, allocations: 33.03 kB / 1.388 GB, free: 7.148 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 95 * 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.0007407/1.276, allocations: 296.4 kB / 1.388 GB, free: 6.918 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/1.276, allocations: 97.06 kB / 1.388 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/1.279, allocations: 1.126 MB / 1.389 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.279, allocations: 12.28 kB / 1.389 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.279, allocations: 5.062 kB / 1.389 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.279, allocations: 3.984 kB / 1.389 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.281, allocations: 1.052 MB / 1.39 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.281, allocations: 2.062 kB / 1.39 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/1.281, allocations: 159.3 kB / 1.39 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/1.282, allocations: 74 kB / 1.391 GB, free: 5.371 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/1.282, allocations: 33.39 kB / 1.391 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.284, allocations: 1.657 MB / 1.392 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.284, allocations: 0 / 1.392 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.286, allocations: 0.9882 MB / 1.393 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/1.287, allocations: 282.1 kB / 1.393 GB, free: 2.957 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/1.287, allocations: 22.12 kB / 1.393 GB, free: 2.941 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/1.288, allocations: 64.05 kB / 1.394 GB, free: 2.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.288, allocations: 79.06 kB / 1.394 GB, free: 2.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/1.288, allocations: 36.03 kB / 1.394 GB, free: 2.855 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009556/1.289, allocations: 0.5177 MB / 1.394 GB, free: 2.562 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.289, allocations: 0 / 1.394 GB, free: 2.562 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001487/1.291, allocations: 382.7 kB / 1.394 GB, free: 2.449 MB / 1.076 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.004095/1.295, allocations: 2.046 MB / 1.396 GB, free: 1.188 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002023/1.297, allocations: 0.8463 MB / 1.397 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.297, allocations: 0 / 1.397 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.298, allocations: 0.5536 MB / 1.398 GB, free: 444 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.299, allocations: 334.9 kB / 1.398 GB, free: 268 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.313, allocations: 7.039 MB / 1.405 GB, free: 11.72 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.314, allocations: 1.107 MB / 1.406 GB, free: 10.59 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001236/1.315, allocations: 291.6 kB / 1.406 GB, free: 10.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/1.316, allocations: 479.2 kB / 1.407 GB, free: 9.832 MB / 1.092 GB Notification: Performance of SimCode: time 8.81e-07/1.316, allocations: 0 / 1.407 GB, free: 9.832 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/1.378, allocations: 24.61 MB / 1.431 GB, free: 1.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.31, allocations: 11 kB / 1.431 GB, free: 1.562 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches