Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.007576/0.007576, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001791/0.00179, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.47/2.47, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8392, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.009888/0.8492, allocations: 5.194 MB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1719/1.021, allocations: 150.7 MB / 1.318 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009809/1.022, allocations: 15.94 kB / 1.318 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/1.023, allocations: 206.1 kB / 1.319 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/1.025, allocations: 0.5703 MB / 1.319 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/1.028, allocations: 0.8661 MB / 1.32 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00198/1.03, allocations: 1.467 MB / 1.321 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.031, allocations: 0.6483 MB / 1.322 GB, free: 3.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/1.032, allocations: 0.5178 MB / 1.323 GB, free: 2.988 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008772/1.033, allocations: 0.5445 MB / 1.323 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/1.033, allocations: 128 kB / 1.323 GB, free: 2.316 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/1.034, allocations: 0.5152 MB / 1.324 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/1.034, allocations: 311 kB / 1.324 GB, free: 1.496 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005655/1.035, allocations: 0.618 MB / 1.325 GB, free: 0.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/1.037, allocations: 1.756 MB / 1.326 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.037, allocations: 0 / 1.326 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.037, allocations: 0 / 1.326 GB, free: 15.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.037, allocations: 0 / 1.326 GB, free: 15.11 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002452/1.039, allocations: 1.516 MB / 1.328 GB, free: 13.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.039, allocations: 8.922 kB / 1.328 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/1.039, allocations: 148.2 kB / 1.328 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.04, allocations: 211.3 kB / 1.328 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.042, allocations: 0.7926 MB / 1.329 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/1.042, allocations: 70 kB / 1.329 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.042, allocations: 92 kB / 1.329 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/1.043, allocations: 1.016 MB / 1.33 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.043, allocations: 0 / 1.33 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/1.044, allocations: 43.94 kB / 1.33 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/1.044, allocations: 24 kB / 1.33 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.045, allocations: 1.175 MB / 1.331 GB, free: 9.887 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.004183/1.05, allocations: 2.937 MB / 1.334 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.051, allocations: 0.9206 MB / 1.335 GB, free: 5.879 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/1.052, allocations: 314.7 kB / 1.335 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/1.052, allocations: 470.2 kB / 1.336 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/1.053, allocations: 0.4953 MB / 1.336 GB, free: 4.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1.053, allocations: 4 kB / 1.336 GB, free: 4.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003226/1.057, allocations: 1.237 MB / 1.338 GB, free: 3.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.057, allocations: 192.6 kB / 1.338 GB, free: 3.004 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/1.058, allocations: 0.6411 MB / 1.338 GB, free: 2.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/1.058, allocations: 41.7 kB / 1.338 GB, free: 2.309 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/1.058, allocations: 428.2 kB / 1.339 GB, free: 1.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/1.058, allocations: 264.2 kB / 1.339 GB, free: 1.621 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/1.058, allocations: 150.5 kB / 1.339 GB, free: 1.469 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.059, allocations: 386.8 kB / 1.34 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/1.059, allocations: 261.8 kB / 1.34 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/1.06, allocations: 374.5 kB / 1.34 GB, free: 444 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.061, allocations: 0.5995 MB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.061, allocations: 0 / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001855/1.063, allocations: 0.8291 MB / 1.342 GB, free: 14.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.063, allocations: 10.91 kB / 1.342 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.063, allocations: 0 / 1.342 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/1.063, allocations: 84.86 kB / 1.342 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/1.064, allocations: 159.7 kB / 1.342 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/1.066, allocations: 1.638 MB / 1.343 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/1.067, allocations: 95.38 kB / 1.343 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/1.067, allocations: 31.98 kB / 1.343 GB, free: 12.82 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 (88): * Single equations (assignments): 87 * 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.0004356/1.067, allocations: 262.2 kB / 1.344 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.067, allocations: 86.95 kB / 1.344 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/1.07, allocations: 1.101 MB / 1.345 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.07, allocations: 8.047 kB / 1.345 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.07, allocations: 11.97 kB / 1.345 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.07, allocations: 3.984 kB / 1.345 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/1.073, allocations: 2.001 MB / 1.347 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.073, allocations: 3.984 kB / 1.347 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/1.074, allocations: 155.8 kB / 1.347 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/1.074, allocations: 72.72 kB / 1.347 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/1.074, allocations: 23.98 kB / 1.347 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/1.076, allocations: 1.659 MB / 1.349 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.076, allocations: 0 / 1.349 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.078, allocations: 1.025 MB / 1.35 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/1.078, allocations: 279.7 kB / 1.35 GB, free: 5.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.079, allocations: 20 kB / 1.35 GB, free: 5.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/1.079, allocations: 67.92 kB / 1.35 GB, free: 5.785 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.079, allocations: 72.83 kB / 1.35 GB, free: 5.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/1.079, allocations: 39.98 kB / 1.35 GB, free: 5.676 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005741/1.08, allocations: 467 kB / 1.351 GB, free: 5.223 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 1.351 GB, free: 5.223 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008976/1.081, allocations: 343.2 kB / 1.351 GB, free: 4.887 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.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 (93): * Single equations (assignments): 87 * 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.003405/1.084, allocations: 2.094 MB / 1.353 GB, free: 2.934 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.086, allocations: 0.8236 MB / 1.354 GB, free: 2.098 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.086, allocations: 0 / 1.354 GB, free: 2.098 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/1.087, allocations: 0.5314 MB / 1.354 GB, free: 1.555 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.088, allocations: 300.8 kB / 1.355 GB, free: 1.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/1.098, allocations: 6.407 MB / 1.361 GB, free: 10.72 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/1.098, allocations: 1.04 MB / 1.362 GB, free: 9.648 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007783/1.099, allocations: 282.8 kB / 1.362 GB, free: 9.367 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/1.1, allocations: 407.3 kB / 1.363 GB, free: 8.969 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/1.1, allocations: 0 / 1.363 GB, free: 8.969 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/1.15, allocations: 22.46 MB / 1.384 GB, free: 2.766 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.26, allocations: 13.23 kB / 1.385 GB, free: 2.754 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches