Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.005426/0.005426, 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.001119/0.001119, 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.281/1.281, 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.349/2.349, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7767, allocations: 151.6 MB / 1.166 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008617/0.7854, allocations: 7.081 MB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.159/0.9444, allocations: 151.1 MB / 1.321 GB, free: 4.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.9457, allocations: 19.94 kB / 1.321 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.9467, allocations: 273.4 kB / 1.321 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.9496, allocations: 0.773 MB / 1.322 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.9523, allocations: 1.028 MB / 1.323 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.9551, allocations: 2.105 MB / 1.325 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.957, allocations: 1.099 MB / 1.326 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.9583, allocations: 0.8371 MB / 1.327 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.9596, allocations: 0.8753 MB / 1.327 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.9602, allocations: 220 kB / 1.328 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.9616, allocations: 0.5816 MB / 1.328 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.9623, allocations: 494.5 kB / 1.329 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.9637, allocations: 0.972 MB / 1.33 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.9672, allocations: 2.675 MB / 1.332 GB, free: 8.977 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9672, allocations: 0 / 1.332 GB, free: 8.977 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9672, allocations: 0 / 1.332 GB, free: 8.977 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.605e-05/0.9673, allocations: 0 / 1.332 GB, free: 8.977 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.00472/0.972, allocations: 2.045 MB / 1.334 GB, free: 6.875 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.9721, allocations: 12.92 kB / 1.334 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004036/0.9725, allocations: 228.2 kB / 1.335 GB, free: 6.629 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.9737, allocations: 250.6 kB / 1.335 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.9755, allocations: 1.004 MB / 1.336 GB, free: 5.332 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.9757, allocations: 140.8 kB / 1.336 GB, free: 5.188 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.976, allocations: 160 kB / 1.336 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.9789, allocations: 1.589 MB / 1.338 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.979, allocations: 0 / 1.338 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.9791, allocations: 67.98 kB / 1.338 GB, free: 3.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.9792, allocations: 43.94 kB / 1.338 GB, free: 3.277 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.9819, allocations: 1.592 MB / 1.339 GB, free: 1.68 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.007477/0.9894, allocations: 4.677 MB / 1.344 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.9914, allocations: 1.096 MB / 1.345 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.9922, allocations: 431.7 kB / 1.345 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.9923, allocations: 41.02 kB / 1.345 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.9936, allocations: 0.7037 MB / 1.346 GB, free: 10.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 3.075e-06/0.9936, allocations: 4 kB / 1.346 GB, free: 10.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.00399/0.9976, allocations: 1.657 MB / 1.348 GB, free: 8.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.9977, allocations: 192.9 kB / 1.348 GB, free: 8.609 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.999, allocations: 0.8379 MB / 1.349 GB, free: 7.746 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/0.9991, allocations: 53.69 kB / 1.349 GB, free: 7.688 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.9997, allocations: 0.6205 MB / 1.349 GB, free: 7.059 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/1, allocations: 358.8 kB / 1.35 GB, free: 6.703 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/1, allocations: 210.8 kB / 1.35 GB, free: 6.492 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.001, allocations: 345.9 kB / 1.35 GB, free: 6.148 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/1.001, allocations: 374.5 kB / 1.351 GB, free: 5.781 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/1.002, allocations: 0.5063 MB / 1.351 GB, free: 5.246 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.004, allocations: 0.8593 MB / 1.352 GB, free: 4.371 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.004, allocations: 4 kB / 1.352 GB, free: 4.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002556/1.006, allocations: 1.157 MB / 1.353 GB, free: 3.203 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.006, allocations: 4 kB / 1.353 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.006, allocations: 0 / 1.353 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/1.007, allocations: 88.83 kB / 1.353 GB, free: 3.109 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/1.008, allocations: 215.7 kB / 1.353 GB, free: 2.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.01, allocations: 1.65 MB / 1.355 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/1.011, allocations: 131 kB / 1.355 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.011, allocations: 43.97 kB / 1.355 GB, free: 0.9297 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.00066/1.012, allocations: 360 kB / 1.355 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/1.012, allocations: 110.6 kB / 1.356 GB, free: 472 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/1.015, allocations: 1.52 MB / 1.357 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.015, allocations: 12 kB / 1.357 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.015, allocations: 3.984 kB / 1.357 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.016, allocations: 11.91 kB / 1.357 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.017, allocations: 1.388 MB / 1.358 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.017, allocations: 4 kB / 1.358 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/1.018, allocations: 187.8 kB / 1.359 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.019, allocations: 84.72 kB / 1.359 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/1.019, allocations: 31.97 kB / 1.359 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/1.021, allocations: 1.674 MB / 1.36 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.021, allocations: 0 / 1.36 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/1.023, allocations: 1.281 MB / 1.362 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/1.024, allocations: 363.2 kB / 1.362 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.024, allocations: 31.91 kB / 1.362 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/1.025, allocations: 83.91 kB / 1.362 GB, free: 9.543 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.025, allocations: 93.17 kB / 1.362 GB, free: 9.449 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.026, allocations: 55.95 kB / 1.362 GB, free: 9.395 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009332/1.026, allocations: 0.6137 MB / 1.363 GB, free: 8.77 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.026, allocations: 0 / 1.363 GB, free: 8.77 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001236/1.028, allocations: 482.5 kB / 1.363 GB, free: 8.297 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004243/1.032, allocations: 2.346 MB / 1.366 GB, free: 6.09 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002278/1.034, allocations: 1.121 MB / 1.367 GB, free: 4.953 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.034, allocations: 4 kB / 1.367 GB, free: 4.949 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.036, allocations: 0.6817 MB / 1.367 GB, free: 4.254 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.037, allocations: 348.6 kB / 1.368 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.052, allocations: 8.675 MB / 1.376 GB, free: 11.1 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009951/1.053, allocations: 1.216 MB / 1.377 GB, free: 9.852 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001102/1.054, allocations: 329.2 kB / 1.378 GB, free: 9.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/1.055, allocations: 0.6164 MB / 1.378 GB, free: 8.91 MB / 1.107 GB Notification: Performance of SimCode: time 9.72e-07/1.055, allocations: 0 / 1.378 GB, free: 8.91 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08519/1.14, allocations: 29.37 MB / 1.407 GB, free: 11.8 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.86, allocations: 19.64 kB / 1.407 GB, free: 11.79 MB / 1.139 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches