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.004929/0.004929, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001141/0.001141, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.12 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007551/0.2884, allocations: 5.958 MB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7337/1.022, allocations: 150.8 MB / 1.36 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/1.023, allocations: 21.03 kB / 1.36 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006552/1.024, allocations: 237.2 kB / 1.361 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/1.025, allocations: 0.6237 MB / 1.361 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/1.027, allocations: 0.8683 MB / 1.362 GB, free: 7.461 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001951/1.029, allocations: 1.653 MB / 1.364 GB, free: 6.598 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/1.03, allocations: 0.8685 MB / 1.365 GB, free: 6.137 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/1.032, allocations: 0.6137 MB / 1.365 GB, free: 5.824 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008186/1.032, allocations: 0.6561 MB / 1.366 GB, free: 5.469 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/1.033, allocations: 154.4 kB / 1.366 GB, free: 5.469 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/1.034, allocations: 0.522 MB / 1.366 GB, free: 5.352 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/1.034, allocations: 364.5 kB / 1.367 GB, free: 5.117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006383/1.035, allocations: 0.7416 MB / 1.367 GB, free: 4.625 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/1.037, allocations: 2.039 MB / 1.369 GB, free: 3.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.037, allocations: 0 / 1.369 GB, free: 3.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.644e-06/1.037, allocations: 0 / 1.369 GB, free: 3.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.877e-05/1.037, allocations: 0 / 1.369 GB, free: 3.75 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.002865/1.04, allocations: 1.721 MB / 1.371 GB, free: 2.613 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.04, allocations: 10.16 kB / 1.371 GB, free: 2.613 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/1.04, allocations: 184.6 kB / 1.371 GB, free: 2.492 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/1.041, allocations: 224.2 kB / 1.372 GB, free: 2.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.042, allocations: 0.871 MB / 1.372 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/1.042, allocations: 91.09 kB / 1.372 GB, free: 1.805 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.042, allocations: 117.4 kB / 1.373 GB, free: 1.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/1.044, allocations: 1.201 MB / 1.374 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.044, allocations: 1.25 kB / 1.374 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.044, allocations: 51.78 kB / 1.374 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.044, allocations: 29.09 kB / 1.374 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.046, allocations: 1.288 MB / 1.375 GB, free: 368 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.004693/1.051, allocations: 3.53 MB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/1.052, allocations: 0.8747 MB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/1.053, allocations: 330.3 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/1.053, allocations: 28.11 kB / 1.38 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008401/1.054, allocations: 0.5203 MB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 2.404e-06/1.054, allocations: 0 / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.003261/1.057, allocations: 1.278 MB / 1.382 GB, free: 11.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/1.057, allocations: 193.5 kB / 1.382 GB, free: 11.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/1.058, allocations: 0.7362 MB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/1.058, allocations: 42.39 kB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/1.059, allocations: 0.5228 MB / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.059, allocations: 279.1 kB / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/1.059, allocations: 157.1 kB / 1.383 GB, free: 10.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.059, allocations: 336.8 kB / 1.384 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/1.06, allocations: 269.9 kB / 1.384 GB, free: 9.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/1.06, allocations: 389 kB / 1.384 GB, free: 9.672 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.062, allocations: 0.6376 MB / 1.385 GB, free: 9.328 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.062, allocations: 1.656 kB / 1.385 GB, free: 9.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002009/1.064, allocations: 0.8721 MB / 1.386 GB, free: 8.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.064, allocations: 8.719 kB / 1.386 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.064, allocations: 2.469 kB / 1.386 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/1.064, allocations: 88.67 kB / 1.386 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/1.065, allocations: 159.2 kB / 1.386 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.067, allocations: 1.641 MB / 1.388 GB, free: 7.191 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/1.068, allocations: 95.61 kB / 1.388 GB, free: 7.129 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/1.068, allocations: 29.83 kB / 1.388 GB, free: 7.121 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.0005304/1.068, allocations: 304.5 kB / 1.388 GB, free: 6.883 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.069, allocations: 97.22 kB / 1.388 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.071, allocations: 1.12 MB / 1.389 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.071, allocations: 13.56 kB / 1.389 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.071, allocations: 0 / 1.389 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.071, allocations: 5.312 kB / 1.389 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.072, allocations: 1.056 MB / 1.39 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.072, allocations: 0 / 1.39 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/1.073, allocations: 154.6 kB / 1.39 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/1.073, allocations: 73.47 kB / 1.391 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/1.073, allocations: 24.11 kB / 1.391 GB, free: 5.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.075, allocations: 1.67 MB / 1.392 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.075, allocations: 0 / 1.392 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.077, allocations: 0.9894 MB / 1.393 GB, free: 3.172 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/1.077, allocations: 282.7 kB / 1.393 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.077, allocations: 21.34 kB / 1.393 GB, free: 2.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/1.078, allocations: 69.23 kB / 1.394 GB, free: 2.875 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.078, allocations: 74.38 kB / 1.394 GB, free: 2.836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/1.078, allocations: 35.84 kB / 1.394 GB, free: 2.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005918/1.079, allocations: 0.5174 MB / 1.394 GB, free: 2.531 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 1.344 kB / 1.394 GB, free: 2.531 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009725/1.08, allocations: 381.7 kB / 1.394 GB, free: 2.418 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.003241/1.083, allocations: 2.039 MB / 1.396 GB, free: 1.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.085, allocations: 0.8584 MB / 1.397 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.085, allocations: 0 / 1.397 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/1.085, allocations: 0.5493 MB / 1.398 GB, free: 412 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.087, allocations: 337.1 kB / 1.398 GB, free: 236 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.097, allocations: 7.032 MB / 1.405 GB, free: 11.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/1.098, allocations: 1.11 MB / 1.406 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009124/1.099, allocations: 295.5 kB / 1.406 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/1.099, allocations: 483.2 kB / 1.407 GB, free: 9.773 MB / 1.092 GB Notification: Performance of SimCode: time 6.12e-07/1.099, allocations: 0 / 1.407 GB, free: 9.773 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/1.155, allocations: 24.6 MB / 1.431 GB, free: 1.52 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.68, allocations: 12.03 kB / 1.431 GB, free: 1.512 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