Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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 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.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.007935/0.007935, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001819/0.001819, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.314/2.314, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7885, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005777/0.7944, allocations: 4.867 MB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.9451, allocations: 150.6 MB / 1.318 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.946, allocations: 19.88 kB / 1.318 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.9468, allocations: 190.2 kB / 1.318 GB, free: 7.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.9489, allocations: 0.5521 MB / 1.319 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.9509, allocations: 0.833 MB / 1.32 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.9526, allocations: 1.378 MB / 1.321 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.9537, allocations: 0.5754 MB / 1.321 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007562/0.9544, allocations: 486.3 kB / 1.322 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.9552, allocations: 0.5017 MB / 1.322 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.9555, allocations: 116 kB / 1.322 GB, free: 3.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.9566, allocations: 479.6 kB / 1.323 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.9569, allocations: 291.1 kB / 1.323 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.9577, allocations: 0.5557 MB / 1.324 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.9597, allocations: 1.631 MB / 1.325 GB, free: 104 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9597, allocations: 0 / 1.325 GB, free: 104 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9597, allocations: 0 / 1.325 GB, free: 104 kB / 1.045 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.9598, allocations: 4 kB / 1.325 GB, free: 100 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002926/0.9627, allocations: 1.426 MB / 1.327 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9628, allocations: 8.922 kB / 1.327 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.963, allocations: 131.4 kB / 1.327 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.9639, allocations: 187.4 kB / 1.327 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9652, allocations: 0.7692 MB / 1.328 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/0.9653, allocations: 62 kB / 1.328 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.9654, allocations: 80 kB / 1.328 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.967, allocations: 0.9145 MB / 1.329 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.967, allocations: 0 / 1.329 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/0.9671, allocations: 39.88 kB / 1.329 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.9671, allocations: 20 kB / 1.329 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.9688, allocations: 1.108 MB / 1.33 GB, free: 11.22 MB / 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.003922/0.9728, allocations: 2.674 MB / 1.333 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.9743, allocations: 0.8018 MB / 1.333 GB, free: 7.629 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.9748, allocations: 302.7 kB / 1.334 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.9749, allocations: 32.67 kB / 1.334 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008044/0.9757, allocations: 491.1 kB / 1.334 GB, free: 6.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 2.665e-06/0.9757, allocations: 0 / 1.334 GB, free: 6.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.003015/0.9787, allocations: 1.194 MB / 1.335 GB, free: 5.578 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.9788, allocations: 192.6 kB / 1.336 GB, free: 5.348 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.9796, allocations: 0.6293 MB / 1.336 GB, free: 4.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.9797, allocations: 41.7 kB / 1.336 GB, free: 4.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.98, allocations: 396.3 kB / 1.337 GB, free: 4.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.9802, allocations: 260.3 kB / 1.337 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.9804, allocations: 146.5 kB / 1.337 GB, free: 3.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9806, allocations: 390.7 kB / 1.337 GB, free: 3.473 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.981, allocations: 249.9 kB / 1.338 GB, free: 3.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.9816, allocations: 358.5 kB / 1.338 GB, free: 2.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.9826, allocations: 0.5838 MB / 1.338 GB, free: 2.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9827, allocations: 0 / 1.338 GB, free: 2.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001768/0.9844, allocations: 0.7982 MB / 1.339 GB, free: 1.445 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9845, allocations: 12 kB / 1.339 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.9845, allocations: 0 / 1.339 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.9851, allocations: 88.7 kB / 1.339 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.9857, allocations: 151.7 kB / 1.339 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.9877, allocations: 1.634 MB / 1.341 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.9883, allocations: 83.33 kB / 1.341 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.9884, allocations: 27.98 kB / 1.341 GB, free: 15.3 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 (87): * Single equations (assignments): 86 * 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.0003486/0.9887, allocations: 269.6 kB / 1.341 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9889, allocations: 83.03 kB / 1.342 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.9911, allocations: 1.069 MB / 1.343 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9912, allocations: 12 kB / 1.343 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9912, allocations: 3.938 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.9912, allocations: 3.984 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.9922, allocations: 0.888 MB / 1.343 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9922, allocations: 0 / 1.343 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.9927, allocations: 143.8 kB / 1.344 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.9931, allocations: 72.78 kB / 1.344 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.9932, allocations: 31.86 kB / 1.344 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.995, allocations: 1.666 MB / 1.345 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.995, allocations: 144 / 1.345 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.9969, allocations: 0.9279 MB / 1.346 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.9972, allocations: 271.7 kB / 1.346 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.9973, allocations: 16 kB / 1.346 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.9979, allocations: 67.92 kB / 1.347 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.9981, allocations: 68.84 kB / 1.347 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.9982, allocations: 39.97 kB / 1.347 GB, free: 9.422 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005229/0.9987, allocations: 455 kB / 1.347 GB, free: 8.984 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9987, allocations: 0 / 1.347 GB, free: 8.984 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007888/0.9995, allocations: 315.3 kB / 1.347 GB, free: 8.676 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 (91): * Single equations (assignments): 85 * 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.003397/1.003, allocations: 1.972 MB / 1.349 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001558/1.004, allocations: 0.8001 MB / 1.35 GB, free: 6.031 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.004, allocations: 3.984 kB / 1.35 GB, free: 6.027 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/1.005, allocations: 0.5158 MB / 1.351 GB, free: 5.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.006, allocations: 309.2 kB / 1.351 GB, free: 5.219 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/1.016, allocations: 6.11 MB / 1.357 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/1.017, allocations: 1.016 MB / 1.358 GB, free: 13.95 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007678/1.017, allocations: 258.7 kB / 1.358 GB, free: 13.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/1.018, allocations: 383.2 kB / 1.358 GB, free: 13.32 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.018, allocations: 0 / 1.358 GB, free: 13.32 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/1.068, allocations: 21.5 MB / 1.379 GB, free: 8.098 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.22, allocations: 11.59 kB / 1.379 GB, free: 8.09 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches