Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_11_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_11_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.001284/0.001284, allocations: 113.5 kB / 15.99 MB, free: 5.914 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.001285/0.001286, allocations: 196 kB / 16.91 MB, free: 5.754 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.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.73 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008175/0.3797, allocations: 5.167 MB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7416/1.121, allocations: 148.5 MB / 1.214 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/1.122, allocations: 19.53 kB / 1.214 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/1.123, allocations: 154.8 kB / 1.214 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/1.125, allocations: 0.502 MB / 1.215 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/1.127, allocations: 0.7695 MB / 1.216 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002367/1.129, allocations: 1.447 MB / 1.217 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/1.13, allocations: 0.6592 MB / 1.218 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/1.132, allocations: 0.5116 MB / 1.218 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000932/1.133, allocations: 0.5558 MB / 1.219 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/1.133, allocations: 125.1 kB / 1.219 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/1.134, allocations: 494.5 kB / 1.219 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/1.134, allocations: 308 kB / 1.22 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/1.135, allocations: 0.6125 MB / 1.22 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/1.137, allocations: 1.302 MB / 1.221 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.137, allocations: 2.5 kB / 1.221 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.137, allocations: 0 / 1.221 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.956e-05/1.137, allocations: 0 / 1.221 GB, free: 6.188 MB / 0.9356 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.002766/1.14, allocations: 1.511 MB / 1.223 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.14, allocations: 9.312 kB / 1.223 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/1.141, allocations: 211.4 kB / 1.223 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.142, allocations: 0.7663 MB / 1.224 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/1.142, allocations: 68.59 kB / 1.224 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.142, allocations: 94.45 kB / 1.224 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/1.144, allocations: 1.016 MB / 1.225 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.144, allocations: 3.984 kB / 1.225 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/1.144, allocations: 41.66 kB / 1.225 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/1.144, allocations: 22.72 kB / 1.225 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.146, allocations: 1.179 MB / 1.226 GB, free: 2.941 MB / 0.9356 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.004974/1.151, allocations: 2.965 MB / 1.229 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/1.153, allocations: 0.9104 MB / 1.23 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/1.154, allocations: 318.7 kB / 1.23 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/1.154, allocations: 470.1 kB / 1.231 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/1.156, allocations: 0.5003 MB / 1.231 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/1.156, allocations: 0 / 1.231 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003622/1.159, allocations: 1.237 MB / 1.232 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.159, allocations: 196.5 kB / 1.233 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/1.16, allocations: 0.641 MB / 1.233 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/1.16, allocations: 41.7 kB / 1.233 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.161, allocations: 424.2 kB / 1.234 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.161, allocations: 268.2 kB / 1.234 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/1.161, allocations: 170.4 kB / 1.234 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.162, allocations: 382.8 kB / 1.235 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/1.162, allocations: 285.8 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/1.163, allocations: 375.1 kB / 1.235 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.164, allocations: 0.6303 MB / 1.236 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.164, allocations: 0 / 1.236 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002203/1.166, allocations: 0.8683 MB / 1.237 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.166, allocations: 11.94 kB / 1.237 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.166, allocations: 4.094 kB / 1.237 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/1.167, allocations: 88.7 kB / 1.237 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/1.168, allocations: 163.8 kB / 1.237 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.17, allocations: 1.63 MB / 1.238 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/1.171, allocations: 102 kB / 1.239 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/1.171, allocations: 39.98 kB / 1.239 GB, free: 5.742 MB / 0.9512 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.0006268/1.172, allocations: 279.5 kB / 1.239 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/1.172, allocations: 82.97 kB / 1.239 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.175, allocations: 1.106 MB / 1.24 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.175, allocations: 11.94 kB / 1.24 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/1.175, allocations: 0 / 1.24 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.175, allocations: 3.984 kB / 1.24 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.179, allocations: 2.004 MB / 1.242 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.179, allocations: 0 / 1.242 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.179, allocations: 151.8 kB / 1.242 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.18, allocations: 72.78 kB / 1.242 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/1.18, allocations: 23.98 kB / 1.242 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/1.182, allocations: 1.658 MB / 1.244 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.182, allocations: 3.938 kB / 1.244 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/1.185, allocations: 1.019 MB / 1.245 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/1.185, allocations: 275.7 kB / 1.245 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.185, allocations: 23.94 kB / 1.245 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/1.186, allocations: 69.75 kB / 1.245 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.186, allocations: 80.83 kB / 1.245 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/1.186, allocations: 31.98 kB / 1.245 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006724/1.187, allocations: 467 kB / 1.246 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.187, allocations: 0 / 1.246 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001052/1.188, allocations: 359 kB / 1.246 GB, free: 13.8 MB / 0.9669 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.002004/1.19, allocations: 0.6276 MB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002757/1.193, allocations: 1.058 MB / 1.248 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.193, allocations: 4 kB / 1.248 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.194, allocations: 0.5236 MB / 1.248 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.195, allocations: 313.8 kB / 1.249 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/1.199, allocations: 2.23 MB / 1.251 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/1.2, allocations: 1.043 MB / 1.252 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/1.2, allocations: 123.4 kB / 1.252 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/1.2, allocations: 0 / 1.252 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of Templates: time 0.02981/1.23, allocations: 19.52 MB / 1.271 GB, free: 4.531 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches