Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.002003/0.002003, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 59.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.051, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008065/1.059, allocations: 5.17 MB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1884/1.247, allocations: 150.7 MB / 1.361 GB, free: 1.152 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/1.249, allocations: 15.94 kB / 1.361 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009818/1.25, allocations: 202.1 kB / 1.361 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002849/1.253, allocations: 0.5665 MB / 1.361 GB, free: 380 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/1.256, allocations: 0.8658 MB / 1.362 GB, free: 15.51 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003049/1.259, allocations: 1.467 MB / 1.364 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.26, allocations: 0.6522 MB / 1.364 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/1.262, allocations: 0.5139 MB / 1.365 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/1.263, allocations: 0.5523 MB / 1.365 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/1.263, allocations: 124 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/1.265, allocations: 0.5074 MB / 1.366 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/1.265, allocations: 315 kB / 1.366 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009491/1.266, allocations: 0.6064 MB / 1.367 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/1.269, allocations: 1.762 MB / 1.369 GB, free: 8.988 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.269, allocations: 0 / 1.369 GB, free: 8.988 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.929e-06/1.269, allocations: 0 / 1.369 GB, free: 8.988 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.162e-05/1.269, allocations: 0 / 1.369 GB, free: 8.988 MB / 1.092 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.004183/1.273, allocations: 1.504 MB / 1.37 GB, free: 7.426 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.274, allocations: 8.031 kB / 1.37 GB, free: 7.418 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/1.275, allocations: 219.2 kB / 1.37 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.277, allocations: 0.7812 MB / 1.371 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/1.277, allocations: 70 kB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/1.277, allocations: 95.94 kB / 1.371 GB, free: 6.215 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.279, allocations: 1.016 MB / 1.372 GB, free: 5.16 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.279, allocations: 3.938 kB / 1.372 GB, free: 5.156 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.279, allocations: 44 kB / 1.372 GB, free: 5.113 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/1.279, allocations: 20 kB / 1.372 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/1.281, allocations: 1.171 MB / 1.373 GB, free: 3.922 MB / 1.092 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.005299/1.287, allocations: 2.937 MB / 1.376 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/1.289, allocations: 0.9191 MB / 1.377 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/1.289, allocations: 314.7 kB / 1.377 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006979/1.29, allocations: 470.2 kB / 1.378 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.291, allocations: 0.4991 MB / 1.378 GB, free: 14.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/1.291, allocations: 0 / 1.378 GB, free: 14.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003582/1.295, allocations: 1.237 MB / 1.38 GB, free: 13.27 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.295, allocations: 196.5 kB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.296, allocations: 0.6411 MB / 1.38 GB, free: 12.38 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/1.296, allocations: 41.7 kB / 1.38 GB, free: 12.33 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/1.296, allocations: 432.1 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/1.297, allocations: 264.2 kB / 1.381 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/1.297, allocations: 162.5 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002603/1.297, allocations: 390.8 kB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/1.298, allocations: 277.8 kB / 1.382 GB, free: 10.81 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/1.299, allocations: 379 kB / 1.382 GB, free: 10.43 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/1.3, allocations: 0.6268 MB / 1.383 GB, free: 9.793 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.3, allocations: 0 / 1.383 GB, free: 9.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002329/1.302, allocations: 0.88 MB / 1.384 GB, free: 8.898 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.302, allocations: 4 kB / 1.384 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.302, allocations: 0 / 1.384 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/1.303, allocations: 88.84 kB / 1.384 GB, free: 8.805 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/1.304, allocations: 171.7 kB / 1.384 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.306, allocations: 1.619 MB / 1.386 GB, free: 6.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/1.307, allocations: 103.3 kB / 1.386 GB, free: 6.773 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/1.307, allocations: 35.97 kB / 1.386 GB, free: 6.738 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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.0005795/1.308, allocations: 279.4 kB / 1.386 GB, free: 6.453 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/1.308, allocations: 82.97 kB / 1.386 GB, free: 6.371 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/1.311, allocations: 1.101 MB / 1.387 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.311, allocations: 16 kB / 1.387 GB, free: 5.238 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.311, allocations: 0 / 1.387 GB, free: 5.238 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.311, allocations: 3.984 kB / 1.387 GB, free: 5.234 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/1.315, allocations: 1.999 MB / 1.389 GB, free: 3.176 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.315, allocations: 0 / 1.389 GB, free: 3.176 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/1.316, allocations: 151.8 kB / 1.389 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.317, allocations: 72.78 kB / 1.389 GB, free: 2.953 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/1.317, allocations: 35.91 kB / 1.389 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.319, allocations: 1.65 MB / 1.391 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.319, allocations: 4.031 kB / 1.391 GB, free: 1.121 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/1.321, allocations: 1.017 MB / 1.392 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/1.322, allocations: 279.7 kB / 1.392 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.322, allocations: 19.98 kB / 1.392 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/1.323, allocations: 63.94 kB / 1.392 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.323, allocations: 72.95 kB / 1.392 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/1.323, allocations: 43.92 kB / 1.392 GB, free: 15.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008136/1.324, allocations: 471 kB / 1.393 GB, free: 15.14 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.076e-06/1.324, allocations: 0 / 1.393 GB, free: 15.14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001396/1.325, allocations: 363 kB / 1.393 GB, free: 14.79 MB / 1.123 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.001755/1.327, allocations: 0.6175 MB / 1.394 GB, free: 14.35 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002207/1.329, allocations: 0.8509 MB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.329, allocations: 3.984 kB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.331, allocations: 0.5353 MB / 1.395 GB, free: 12.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.332, allocations: 301.7 kB / 1.395 GB, free: 12.66 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/1.336, allocations: 1.762 MB / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/1.337, allocations: 1.035 MB / 1.398 GB, free: 9.793 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/1.337, allocations: 123.4 kB / 1.398 GB, free: 9.676 MB / 1.123 GB Notification: Performance of SimCode: time 1.723e-06/1.337, allocations: 0 / 1.398 GB, free: 9.676 MB / 1.123 GB Notification: Performance of Templates: time 0.02966/1.367, allocations: 19.63 MB / 1.417 GB, free: 6.117 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches